config is in lire 2:2.1.1-2.1.
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | #!/bin/sh -e
# $Id: lire.config,v 1.7 2009/03/15 06:19:54 vanbaal Exp $
# see debconf_specification.txt.gz , policy.text.gz ,
# /usr/share/doc/debconf-doc/
# http://kitenet.net/doc/debconf-doc/
# /var/lib/dpkg/info/cvs.* , /var/lib/dpkg/info/*.config
# debconf(1)
# just run this as # ./config when debugging, after exporting
# DEBCONF_DEBUG='.*' and, possibly, DEBIAN_FRONTEND=text, and maybe even
# having ran # dpkg-reconfigure debconf
# make sure your /var/cache/debconf/ is sane.
# even better: DEBCONF_DEBUG=developer debconf ./config
# Source debconf library.
. /usr/share/debconf/confmodule
db_title Lire
db_get lire/user || true
user="$RET"
case $user in
lire) ;;
10*|lire/user*) ;;
*) db_input high lire/lire_user_not_lire || true
db_go || true
db_get lire/lire_user_not_lire || true
lire_user_not_lire="$RET"
test x"$lire_user_not_lire" = x"false" && exit 1
;;
esac
if grep "^lire:" /etc/passwd >/dev/null
then
db_input high lire/use_existing_user || true
db_go || true
fi
db_get lire/use_existing_user || true
use_existing_user="$RET"
if test x"$use_existing_user" = x"false"
then
db_fset lire/use_existing_user seen false || true
exit 1
fi
if grep "^lire:" /etc/group >/dev/null
then
db_input high lire/use_existing_group || true
db_go || true
fi
db_get lire/use_existing_group || true
use_existing_group="$RET"
if test x"$use_existing_group" = x"false"
then
db_fset lire/use_existing_group seen false || true
exit 1
fi
db_input high lire/purge_user_files || true
db_go || true
exit 0
|