[Pkg-utopia-commits] r1540 - /packages/unstable/dhcdbd/debian/dhcdbd.preinst

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Thu Jun 21 17:41:24 UTC 2007


Author: biebl
Date: Thu Jun 21 17:41:24 2007
New Revision: 1540

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1540
Log:
Missed to pass the correct package name to the conffile removal function.

Modified:
    packages/unstable/dhcdbd/debian/dhcdbd.preinst

Modified: packages/unstable/dhcdbd/debian/dhcdbd.preinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dhcdbd/debian/dhcdbd.preinst?rev=1540&op=diff
==============================================================================
--- packages/unstable/dhcdbd/debian/dhcdbd.preinst (original)
+++ packages/unstable/dhcdbd/debian/dhcdbd.preinst Thu Jun 21 17:41:24 2007
@@ -18,7 +18,8 @@
 # Prepare to remove a no-longer used conffile
 prep_rm_conffile()
 {
-    CONFFILE="$1"
+    PKGNAME="$1"
+    CONFFILE="$2"
 
     if [ -e "$CONFFILE" ]; then
 	md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
@@ -43,7 +44,7 @@
 	    if [ -x "/etc/dbus-1/event.d/24dhcdbd" ]; then
 		/etc/dbus-1/event.d/24dhcdbd stop   
 	    fi
-	    prep_rm_conffile /etc/dbus-1/event.d/24dhcdbd
+	    prep_rm_conffile dhcdbd /etc/dbus-1/event.d/24dhcdbd
 	fi
 	;;
 




More information about the Pkg-utopia-commits mailing list