config is in aegis 4.24.3-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 | #!/bin/sh
set -e
# Source debconf library
. /usr/share/debconf/confmodule
# first off, does it exist?
if [ -d /var/lib/aegis ]; then
# yep
# is it local?
(df -P -l /var/lib/aegis/ | grep -q %)
if [ ! $? = 0 ]; then
# set correctly?
FUID=`ls -ld /var/lib/aegis/ | awk '{print $3}'`
FGID=`ls -ld /var/lib/aegis/ | awk '{print $4}'`
test -g /var/lib/aegis/ && test $FUID = sys && test $FGID = sys
if [ ! $? = 0 ]; then
# oops, thats set wrong
db_input high aegis/var_lib_aegis_not_local || true
db_go
fi
fi
else
#nope
# is /var/lib/ local?
(df -P -l /var/lib/ | grep -q %)
if [ ! $? = 0 ]; then
# doesn't exist, but /var/lib is not local
db_input high aegis/var_lib_not_local || true
db_go
fi
fi
|