27 lines
632 B
Bash
27 lines
632 B
Bash
#!/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
|
|
|
|
testversion=`echo $2|sed -e 's/^0\.9.*$/X/'`
|
|
if [ "$testversion" = "X" ];then
|
|
db_input high liblemonldap-ng-conf-perl/migrate || true
|
|
fi
|
|
|
|
db_go || true
|
|
|