r17780 - in /packages/unstable/gksu/debian: changelog gksu.postinst

lool at users.alioth.debian.org lool at users.alioth.debian.org
Fri Nov 28 19:40:14 UTC 2008


Author: lool
Date: Fri Nov 28 19:40:14 2008
New Revision: 17780

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17780
Log:
Clean up postinst and use lt-nl instead of checking $2.

Modified:
    packages/unstable/gksu/debian/changelog
    packages/unstable/gksu/debian/gksu.postinst

Modified: packages/unstable/gksu/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gksu/debian/changelog?rev=17780&op=diff
==============================================================================
--- packages/unstable/gksu/debian/changelog (original)
+++ packages/unstable/gksu/debian/changelog Fri Nov 28 19:40:14 2008
@@ -1,6 +1,10 @@
 gksu (2.0.0-7) UNRELEASED; urgency=low
 
+  [ Emilio Pozuelo Monfort ]
   * debian/control.in: Wrap dependencies.
+
+  [ Loic Minier ]
+  * Clean up postinst and use lt-nl instead of checking $2.
 
  -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Mon, 10 Nov 2008 23:47:47 +0100
 

Modified: packages/unstable/gksu/debian/gksu.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gksu/debian/gksu.postinst?rev=17780&op=diff
==============================================================================
--- packages/unstable/gksu/debian/gksu.postinst (original)
+++ packages/unstable/gksu/debian/gksu.postinst Fri Nov 28 19:40:14 2008
@@ -3,8 +3,8 @@
 
 #DEBHELPER#
 
-if [ "$1" = "configure" ] && [ -n $2 ]; then
-    if dpkg --compare-versions "$2" lt 1.3.2-2; then
-	test -f /etc/gksu.conf && /bin/sh /usr/share/gksu/gksu-migrate-conf.sh || true
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl 1.3.2-2; then
+    if [ -f /etc/gksu.conf ]; then
+        /bin/sh /usr/share/gksu/gksu-migrate-conf.sh || true
     fi
 fi




More information about the pkg-gnome-commits mailing list