r11116 - in /desktop/unstable/system-tools-backends/debian: changelog system-tools-backends.preinst

svena-guest at users.alioth.debian.org svena-guest at users.alioth.debian.org
Tue May 22 15:36:18 UTC 2007


Author: svena-guest
Date: Tue May 22 15:36:18 2007
New Revision: 11116

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11116
Log:
* Fix unguarded use of script in preinst (closes: #425473, #423575).

Modified:
    desktop/unstable/system-tools-backends/debian/changelog
    desktop/unstable/system-tools-backends/debian/system-tools-backends.preinst

Modified: desktop/unstable/system-tools-backends/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/changelog?rev=11116&op=diff
==============================================================================
--- desktop/unstable/system-tools-backends/debian/changelog (original)
+++ desktop/unstable/system-tools-backends/debian/changelog Tue May 22 15:36:18 2007
@@ -8,7 +8,10 @@
   [ Loic Minier ]
   * Fix typos in descriptions; thanks Paul Menzel; closes: #425144.
 
- -- Loic Minier <lool at dooz.org>  Sat, 19 May 2007 20:49:41 +0200
+  [ Sven Arvidsson ]
+  * Fix unguarded use of script in preinst (closes: #425473, #423575).
+
+ -- Sven Arvidsson <sa at whiz.se>  Tue, 22 May 2007 17:31:53 +0200
 
 system-tools-backends (2.2.1-3) unstable; urgency=low
 

Modified: desktop/unstable/system-tools-backends/debian/system-tools-backends.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/system-tools-backends.preinst?rev=11116&op=diff
==============================================================================
--- desktop/unstable/system-tools-backends/debian/system-tools-backends.preinst (original)
+++ desktop/unstable/system-tools-backends/debian/system-tools-backends.preinst Tue May 22 15:36:18 2007
@@ -2,7 +2,8 @@
 
 # stop backend here when upgrading from a version that didn't handle
 # it correctly yet in the prerm
-if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 2.1.0-0ubuntu2; then
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 2.1.0-0ubuntu2 \
+    && [ -x /etc/dbus-1/event.d/70system-tools-backends ]; then
     /etc/dbus-1/event.d/70system-tools-backends stop || true
 fi
 




More information about the pkg-gnome-commits mailing list