diff options
-rw-r--r-- | autoscripts/postrm-udev | 5 | ||||
-rw-r--r-- | debian/changelog | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/autoscripts/postrm-udev b/autoscripts/postrm-udev index 15779ca6..b0af6c01 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 1c394fa6..21571826 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 |