config is in dhis-client 5.5-4.
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 | #!/bin/sh -e
# Source debconf library.
. /usr/share/debconf/confmodule
db_version 2.0
package=dhis-client
conf=/etc/dhid.conf
if [ ! -f $conf ] || ! grep -q -v '^;' $conf; then
db_fset $package/register_with_provider seen false
db_input high $package/register_with_provider || true
elif ! grep -q '{' $conf && grep -q -v '^;' $conf; then
db_fset $package/old_conf_warn seen false
db_input high $package/old_conf_warn || true
fi
db_go
db_stop
|