config is in tango-common 7.2.6+dfsg-4build2.
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 | #!/bin/sh
CONFIGFILE=/etc/tangorc
set -e
. /usr/share/debconf/confmodule
# Load config file, if it exists.
if [ -e $CONFIGFILE ]; then
. $CONFIGFILE || true
# Store values from config file into
# debconf db.
db_set tango-common/tango-host "$TANGO_HOST"
else
if db_fget tango-common/tango-host seen; then
if [ "$RET" = "false" ]; then
db_set tango-common/tango-host $(hostname -f)":10000"
fi
fi
fi
# what is the name of the tango host
db_input high tango-common/tango-host || true
db_go || true
|