From 526fb7c5808d4fe652167e115ae2ce9798b735d7 Mon Sep 17 00:00:00 2001 From: joeyh Date: Sun, 21 Jan 2007 16:44:16 +0000 Subject: [PATCH] r1967: * dh_installudev: Fix postrm to not fail if the udev symlink is missing. Closes: #406921 --- autoscripts/postrm-udev | 5 +++-- debian/changelog | 4 +++- 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 Wed, 10 Jan 2007 18:00:35 -0500 + -- Joey Hess Sun, 21 Jan 2007 11:42:25 -0500 debhelper (5.0.42) unstable; urgency=low -- 2.39.2