config is in pinto 0.97+dfsg-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 19 20 21 22 23 24 25 26 27 28 29 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
passwordsmatch=''
while [ ! "$passwordsmatch" ]; do
#only ask for a password if no htpasswd exists
test -f /etc/pinto/htpasswd.users && break
db_input high pinto/adminpassword || true
db_input high pinto/adminpassword-repeat || true
db_go || true
db_get pinto/adminpassword
p1="$RET"
db_get pinto/adminpassword-repeat
p2="$RET"
if [ "$p1" = "$p2" ]; then
passwordsmatch="yes"
else
db_fset pinto/adminpassword seen false
db_fset pinto/adminpassword-repeat seen false
db_fset pinto/adminpassword-mismatch seen false
db_input critical pinto/adminpassword-mismatch || true
fi
done
db_go || true
|