Commit 0b462fd2 authored by Xavier Guimard's avatar Xavier Guimard

Backport changes from Debian packaging

parent 0a22014c
lemonldap-ng (1.4.6-1) unstable; urgency=medium
Handler files "My::Package" are no longer installed by default as a module
"Lemonldap::NG::Handler" generic is now available. It is therefore
necessary either to modify Apache configuration files to use
"Lemonldap::NG::Handler" or create your own Perl modules using the provided
examples files.
-- Xavier Guimard <x.guimard@free.fr> Mon, 29 Dec 2014 17:10:00 +0100
lemonldap-ng (1.2.2-3) unstable; urgency=low
Examples files (Apache configuration and default handler files) are now not
installed in /var/lib/lemonldap-ng/handler but available as examples files
-- Xavier Guimard <x.guimard@free.fr> Wed, 05 Dec 2012 06:27:45 +0100
lemonldap-ng (1.2.2-2) unstable; urgency=low
Since 1.2.2, LemonLDAP::NG uses 'Demo' authentication backend by default
......
......@@ -17,8 +17,10 @@ db_input medium liblemonldap-ng-common-perl/managerPassword || true
db_input medium liblemonldap-ng-common-perl/portal || true
if [ -n "$2" ] && dpkg --compare-versions "$2" lt 1.0; then
db_input high liblemonldap-ng-common-perl/migrate || true
if [ "$2" != "" ]; then
if dpkg --compare-versions "$2" lt 1.0; then
db_input high liblemonldap-ng-common-perl/migrate || true
fi
fi
db_go || true
......
......@@ -20,12 +20,12 @@ then
# Run migration script to convert menu format if old version is 0.9.*
if [ "$2" != "" ]; then
if dpkg --compare-versions $2 lt 1.0; then
if dpkg --compare-versions "$2" lt 1.0; then
if [ -e $CONFDIR/storage.conf -o -e $CONFDIR/apply.conf -o -e $CONFDIR/apps-list.xml ] ; then
db_get liblemonldap-ng-common-perl/migrate
if [ "$RET" ]; then
$MIGRATION 2>&1 > /dev/null || :
fi
#if [ "$RET" ]; then
# $MIGRATION 2>&1 > /dev/null || :
#fi
fi
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment