1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/bin/sh -e
. /usr/share/debconf/confmodule
# Version <= 0.29.103-6 used this file, not /etc/default/gom. We just delete that silently.
no_auto_init_old=/etc/gom/NO_AUTO_INIT
if [ -e ${no_auto_init_old} ]; then
rm -f ${no_auto_init_old}
fi
CONFFILE="/etc/default/gom"
db_get gom/auto_init || true
auto_init="${RET}"
db_get gom/valid_sound_devices || true
valid_sound_devices="${RET}"
cat <<EOF >${CONFFILE}
# Generated by postinst on `date`.
auto_init="${auto_init}"
valid_sound_devices="${valid_sound_devices}"
EOF
#DEBHELPER#
|