summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2012-06-20 02:29:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2012-06-20 02:29:04 +0200
commit53274e02c7c1110562ba67e5136d71e00bffdc91 (patch)
tree5642bf23953a8d97da9932e8af5fcb2d22d205ef
parent5db036bd6577e9c093657df1855a93614b4c6141 (diff)
downloadscreen-53274e02c7c1110562ba67e5136d71e00bffdc91.tar.gz
Fix missing quotation in debian/config's dpkg --compare-version call
Closes: #678207
-rw-r--r--debian/changelog2
-rw-r--r--debian/config2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 33af1f6..64615be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
screen (4.1.0~20120320gitdb59704-4) UNRELEASED; urgency=low
+ * Fix missing quotation in debian/config's dpkg --compare-version call
+ (Closes: #678207)
* Add translations of debconf templates
+ Norwegian Bokmål (Closes: #678112; Thanks Bjørn Steensrud!)
+ Polish (Closes: #678158; Thanks Michał Kułach!)
diff --git a/debian/config b/debian/config
index e7bf977..d72b8ec 100644
--- a/debian/config
+++ b/debian/config
@@ -4,7 +4,7 @@ set -e
. /usr/share/debconf/confmodule
-if pidof SCREEN screen >/dev/null && test '!' -e /tmp/screen-4.0.3 && dpkg --compare-versions $2 lt-nl 4.1.0~; then
+if pidof SCREEN screen >/dev/null && test '!' -e /tmp/screen-4.0.3 && dpkg --compare-versions "$2" lt-nl 4.1.0~; then
if cp -pnT /usr/bin/screen /tmp/screen-4.0.3 ; then
echo Copied /usr/bin/screen to /tmp/screen-4.0.3
db_input high screen/410-upgrade || true