]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1967: * dh_installudev: Fix postrm to not fail if the udev symlink is missing.
authorjoeyh <joeyh>
Sun, 21 Jan 2007 16:44:16 +0000 (16:44 +0000)
committerjoeyh <joeyh>
Sun, 21 Jan 2007 16:44:16 +0000 (16:44 +0000)
Closes: #406921
autoscripts/postrm-udev
debian/changelog

index 15779ca694aedaef3f75a9e28f62f89b0b8f5d1b..b0af6c01a9c807d47b4bef1c4c0e09764276db2c 100644 (file)
@@ -1,4 +1,5 @@
 if [ "$1" = purge ]; then
-       [ -L /etc/udev/rules.d/#PRIO##FILE# ] && \
-       rm /etc/udev/rules.d/#PRIO##FILE#
+       if [ -L /etc/udev/rules.d/#PRIO##FILE# ]; then
+               rm /etc/udev/rules.d/#PRIO##FILE#
+       fi
 fi
index 1c394fa6056e322293f68c29ac011247f250235e..215718262175a0c3808e008fd5252f3237479579 100644 (file)
@@ -9,8 +9,10 @@ debhelper (5.0.43) UNRELEASED; urgency=low
     influencing it.
   * Looks like Package-Type might get into dpkg. Support it w/o the XB-
     too.
+  * dh_installudev: Fix postrm to not fail if the udev symlink is missing.
+    Closes: #406921
 
- -- Joey Hess <joeyh@debian.org>  Wed, 10 Jan 2007 18:00:35 -0500
+ -- Joey Hess <joeyh@debian.org>  Sun, 21 Jan 2007 11:42:25 -0500
 
 debhelper (5.0.42) unstable; urgency=low