summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeyh <joeyh>2007-01-21 16:44:16 +0000
committerjoeyh <joeyh>2007-01-21 16:44:16 +0000
commit526fb7c5808d4fe652167e115ae2ce9798b735d7 (patch)
tree74e71dc32d01c224db114188a85eafba8ceaaa19
parentb415e69ba8f27d0821b9f4ab4f19993a2c0ef211 (diff)
r1967: * dh_installudev: Fix postrm to not fail if the udev symlink is missing.
Closes: #406921
-rw-r--r--autoscripts/postrm-udev5
-rw-r--r--debian/changelog4
2 files changed, 6 insertions, 3 deletions
diff --git a/autoscripts/postrm-udev b/autoscripts/postrm-udev
index 15779ca..b0af6c0 100644
--- a/autoscripts/postrm-udev
+++ b/autoscripts/postrm-udev
@@ -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
diff --git a/debian/changelog b/debian/changelog
index 1c394fa..2157182 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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