[Pkg-javascript-commits] [SCM] javascript-common branch, master, updated. 11
Marcelo Jorge Vieira
metal at alucinados.com
Mon Jul 29 16:55:55 UTC 2013
The following commit has been merged in the master branch:
commit 8a505b577f0ca25b03a18d89e8b10c157092d30f
Author: Marcelo Jorge Vieira <metal at alucinados.com>
Date: Mon Jul 29 11:29:43 2013 -0300
Improving clean up for fresh installs
We do not need all that clean up for fresh installs
(where $2 is empty)
diff --git a/debian/javascript-common.postinst b/debian/javascript-common.postinst
index 8516dbe..968d4f9 100644
--- a/debian/javascript-common.postinst
+++ b/debian/javascript-common.postinst
@@ -59,7 +59,7 @@ esac
#DEBHELPER#
# Will make piupart more happy on upgrades
-if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "9"
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "9"
then
# Remove old /etc/apache2/conf.d if empty and not already removed by user:
if [ -d /etc/apache2/conf.d ]
--
javascript-common
More information about the Pkg-javascript-commits
mailing list