config is in aide-common 0.15.1-5.
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 42 43 44 45 | #!/bin/sh
set -e
# We need debconf.
. /usr/share/debconf/confmodule
if [ -n "$AIDEDEBUG" ]; then
echo "now debugging $0 $@"
set -x
fi
STATE=1
while [ "$STATE" != "stop" ]; do
case "$STATE" in
1)
db_input medium aide/aideinit || true
db_go
db_get aide/aideinit
if [ "$RET" = "true" ]; then
if [ -f "/var/lib/aide/aide.db.new" ]; then
db_input medium aideinit/overwritenew || true
db_go
db_get aideinit/overwritenew
else
RET="true"
fi
if [ "$RET" = "true" ]; then
db_input high aideinit/copynew || true
db_go
fi
fi
db_go && STATE=2
;;
2)
if [ -d /usr/lib/aide ]; then
db_input medium aide/newlibdir || true
db_go && STATE=stop
else
db_set aide/newlibdir false
STATE=stop
fi
;;
esac
done
|