[Pkg-utopia-commits] r2495 - in /packages/unstable/hal/debian: changelog hal.postinst

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Sat Oct 25 13:19:10 UTC 2008


Author: biebl
Date: Sat Oct 25 13:19:10 2008
New Revision: 2495

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=2495
Log:
* debian/hal.postinst
  - Remove existing stop symlinks in rc0 and rc6 on package upgrades.
    (Closes: 501662)

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

Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=2495&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Sat Oct 25 13:19:10 2008
@@ -5,8 +5,11 @@
       NTFS driver, so remove it. The ntfs-3g package will ship a separate fdi
       file which enables this mount option again when the ntfs-3g driver is
       used. (Closes: #497463)
-
- -- Michael Biebl <biebl at debian.org>  Sat, 25 Oct 2008 14:57:49 +0200
+  * debian/hal.postinst
+    - Remove existing stop symlinks in rc0 and rc6 on package upgrades.
+      (Closes: 501662)
+
+ -- Michael Biebl <biebl at debian.org>  Sat, 25 Oct 2008 15:16:30 +0200
 
 hal (0.5.11-5) unstable; urgency=low
 

Modified: packages/unstable/hal/debian/hal.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.postinst?rev=2495&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.postinst (original)
+++ packages/unstable/hal/debian/hal.postinst Sat Oct 25 13:19:10 2008
@@ -42,6 +42,11 @@
     # be sure the run dir is owned by the hal user
     chown haldaemon:haldaemon /var/run/hal
 
+    # Remove old stop symlinks on upgrades
+    if dpkg --compare-versions "$2" lt-nl "0.5.11-6"; then
+      rm -f /etc/rc[06].d/K??hal
+    fi
+
     if [ -x /etc/init.d/dbus ]; then
       invoke-rc.d dbus force-reload || true
     fi




More information about the Pkg-utopia-commits mailing list