config is in xawtv 3.102-3.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #!/bin/sh -e
# debconf lib
. /usr/share/debconf/confmodule
# init variables
mode="$1"
mkcfg="true"
tvnorm=""
freqtab=""
doscan=""
# build xawtv config?
if test -s /etc/X11/xawtvrc; then
mkcfg="false"
fi
if test "$mode" = "reconfigure"; then
mkcfg="true"
fi
if test "$mkcfg" = "true"; then
db_input medium xawtv/build-config || true
db_go || true
db_get xawtv/build-config
mkcfg="$RET"
fi
if test "$mkcfg" = "true"; then
# configuration
db_input medium xawtv/tvnorm || true
db_go || true
db_get xawtv/tvnorm
tvnorm="$RET"
db_input medium xawtv/freqtab || true
db_go || true
db_get xawtv/freqtab
freqtab="$RET"
db_input medium xawtv/channel-scan || true
db_go || true
db_get xawtv/channel-scan
doscan="$RET"
fi
|