r17772 - in /desktop/unstable/gtksourceview/debian: changelog libgtksourceview-doc.preinst libgtksourceview-doc.prerm

lool at users.alioth.debian.org lool at users.alioth.debian.org
Fri Nov 28 19:27:20 UTC 2008


Author: lool
Date: Fri Nov 28 19:27:20 2008
New Revision: 17772

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17772
Log:
Use lt-nl instead of lt in preinst and prerm for robustness.

Modified:
    desktop/unstable/gtksourceview/debian/changelog
    desktop/unstable/gtksourceview/debian/libgtksourceview-doc.preinst
    desktop/unstable/gtksourceview/debian/libgtksourceview-doc.prerm

Modified: desktop/unstable/gtksourceview/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtksourceview/debian/changelog?rev=17772&op=diff
==============================================================================
--- desktop/unstable/gtksourceview/debian/changelog (original)
+++ desktop/unstable/gtksourceview/debian/changelog Fri Nov 28 19:27:20 2008
@@ -8,6 +8,9 @@
 
   [ Emilio Pozuelo Monfort ]
   * debian/libgtksourceview-doc.doc-base: fix section.
+
+  [ Loic Minier ]
+  * Use lt-nl instead of lt in preinst and prerm for robustness.
 
  -- Loic Minier <lool at dooz.org>  Sun, 22 Jul 2007 13:32:24 +0200
 

Modified: desktop/unstable/gtksourceview/debian/libgtksourceview-doc.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtksourceview/debian/libgtksourceview-doc.preinst?rev=17772&op=diff
==============================================================================
--- desktop/unstable/gtksourceview/debian/libgtksourceview-doc.preinst (original)
+++ desktop/unstable/gtksourceview/debian/libgtksourceview-doc.preinst Fri Nov 28 19:27:20 2008
@@ -11,7 +11,7 @@
     # remove symlink from versions older than 1.7.2-1 manually on upgrades
     # since we're replacing it with a directory and dpkg can't handle this case
     # right now
-    if dpkg --compare-versions "$version" lt 1.7.2-1; then
+    if dpkg --compare-versions "$version" lt-nl 1.7.2-1; then
         rm -f /usr/share/gtk-doc/html/gtksourceview
     fi
   ;;

Modified: desktop/unstable/gtksourceview/debian/libgtksourceview-doc.prerm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtksourceview/debian/libgtksourceview-doc.prerm?rev=17772&op=diff
==============================================================================
--- desktop/unstable/gtksourceview/debian/libgtksourceview-doc.prerm (original)
+++ desktop/unstable/gtksourceview/debian/libgtksourceview-doc.prerm Fri Nov 28 19:27:20 2008
@@ -11,7 +11,7 @@
     # remove directory from versions higher than 1.7.2-1 manually on downgrades
     # since we're replacing it with a symlink and dpkg can't handle this case
     # right now
-    if dpkg --compare-versions "$version" lt 1.7.2-1; then
+    if dpkg --compare-versions "$version" lt-nl 1.7.2-1; then
         rm -rf /usr/share/gtk-doc/html/gtksourceview
     fi
   ;;




More information about the pkg-gnome-commits mailing list