5 if [ "$1" = "configure" ]; then
8 adduser --system --home /var/lib/onak --no-create-home --disabled-login onak
10 # Take ownership of the database directory
11 chown -R onak /var/lib/onak
13 # Make the CGI tools setuid onak
14 for i in /usr/lib/cgi-bin/pks/*
16 if ! dpkg-statoverride --list $i >/dev/null
18 dpkg-statoverride --update --add onak root 4755 $i