2007-05-01 16:53:26 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
. /usr/share/debconf/confmodule
|
|
|
|
|
|
|
|
db_input medium liblemonldap-ng-conf-perl/domain || true
|
|
|
|
|
|
|
|
db_input medium liblemonldap-ng-conf-perl/ldapServer || true
|
|
|
|
|
|
|
|
db_input medium liblemonldap-ng-conf-perl/ldapPort || true
|
|
|
|
|
|
|
|
db_input medium liblemonldap-ng-conf-perl/ldapBase || true
|
|
|
|
|
|
|
|
db_input medium liblemonldap-ng-conf-perl/managerDn || true
|
|
|
|
|
|
|
|
db_input medium liblemonldap-ng-conf-perl/managerPassword || true
|
|
|
|
|
|
|
|
db_input medium liblemonldap-ng-conf-perl/portal || true
|
|
|
|
|
2011-02-28 12:34:56 +01:00
|
|
|
testversion=`echo $2|sed -e 's/^0\.9.*$/X/'`
|
2011-02-28 13:37:50 +01:00
|
|
|
if [ "$testversion" = "X" ];then
|
2010-12-01 06:41:51 +01:00
|
|
|
db_input high liblemonldap-ng-conf-perl/migrate || true
|
|
|
|
fi
|
|
|
|
|
2007-05-01 16:53:26 +02:00
|
|
|
db_go || true
|
|
|
|
|