[lemonldap-ng] 02/02: Little shell error
Xavier Guimard
xguimard-guest at moszumanska.debian.org
Wed Apr 9 05:04:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
xguimard-guest pushed a commit to branch master
in repository lemonldap-ng.
commit 1ae6dad0b65ce4cbc68fea9b619f3b77e129b429
Author: Xavier Guimard <x.guimard at free.fr>
Date: Wed Apr 9 07:04:30 2014 +0200
Little shell error
---
debian/liblemonldap-ng-common-perl.config | 2 +-
debian/liblemonldap-ng-common-perl.postinst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/liblemonldap-ng-common-perl.config b/debian/liblemonldap-ng-common-perl.config
index 3f5e64d..9700ae1 100644
--- a/debian/liblemonldap-ng-common-perl.config
+++ b/debian/liblemonldap-ng-common-perl.config
@@ -17,7 +17,7 @@ db_input medium liblemonldap-ng-common-perl/managerPassword || true
db_input medium liblemonldap-ng-common-perl/portal || true
-if dpkg --compare-versions $2 lt 1.0; then
+if dpkg --compare-versions "$2" lt 1.0; then
db_input high liblemonldap-ng-common-perl/migrate || true
fi
diff --git a/debian/liblemonldap-ng-common-perl.postinst b/debian/liblemonldap-ng-common-perl.postinst
index ce3d102..355f449 100644
--- a/debian/liblemonldap-ng-common-perl.postinst
+++ b/debian/liblemonldap-ng-common-perl.postinst
@@ -20,7 +20,7 @@ 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/lemonldap-ng.git
More information about the Pkg-perl-cvs-commits
mailing list