forcemerge 425473 423575
tags 425473 +confirmed
thanks

On Mon, 2007-05-21 at 22:24 +0100, Stephen Gran wrote:
> Preparing to replace system-tools-backends 1.4.2-5 (using 
> .../system-tools-backends_2.2.1-3_i386.deb) ...
> /var/lib/dpkg/tmp.ci/preinst: 7: /etc/dbus-1/event.d/70system-tools-backends: 
> not found
> 
> It looks like you'll need to make sure the file is there before using
> it.

Confirming and merging the two reports about this.

@pkg-gnome, would the attached patch be okay?

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
--- system-tools-backends.preinst.orig	2007-05-22 16:06:26.000000000 +0200
+++ system-tools-backends.preinst	2007-05-22 16:05:24.000000000 +0200
@@ -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
 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to