[SCM] Debian branch, master, updated. debian/1.2.2-3-25-ge9ee5ec
Xavier Guimard
x.guimard at free.fr
Thu Apr 11 04:58:53 UTC 2013
The following commit has been merged in the master branch:
commit caf02e7bee5b0e20bff6c4bb826d5ad5a1b949ae
Author: Xavier Guimard <x.guimard at free.fr>
Date: Wed Apr 10 13:08:49 2013 +0200
Use dpkg --compare-versions in debian configuration
diff --git a/debian/changelog b/debian/changelog
index 3e7dfd1..ea348a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,9 +8,6 @@ lemonldap-ng (1.2.3-1) UNRELEASED; urgency=low
(this will be shown by lintian along with the override) why these
non-standard permissions are necessary (not just "for security reasons",
but what is protected, and from whom?)
- - please check if you can change the test for versions < 1.0 in
- liblemonldap-ng-conf-perl.config to use dpkg --compare-versions like you
- did in liblemonldap-ng-conf-perl.postinst
- I am not sure all package dependencies are complete and correct, but I got
confused and this may in part be an upstream problem. A thorough audit may
be useful?
diff --git a/debian/liblemonldap-ng-conf-perl.config b/debian/liblemonldap-ng-conf-perl.config
index 63b8fa5..a30b8bb 100644
--- a/debian/liblemonldap-ng-conf-perl.config
+++ b/debian/liblemonldap-ng-conf-perl.config
@@ -17,8 +17,7 @@ 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
+if dpkg --compare-versions $2 lt 1.0; then
db_input high liblemonldap-ng-conf-perl/migrate || true
fi
--
Debian
More information about the Pkg-perl-cvs-commits
mailing list