diff options
author | joeyh <joeyh> | 2007-01-21 16:44:16 +0000 |
---|---|---|
committer | joeyh <joeyh> | 2007-01-21 16:44:16 +0000 |
commit | 526fb7c5808d4fe652167e115ae2ce9798b735d7 (patch) | |
tree | 74e71dc32d01c224db114188a85eafba8ceaaa19 /autoscripts | |
parent | b415e69ba8f27d0821b9f4ab4f19993a2c0ef211 (diff) | |
download | debhelper-526fb7c5808d4fe652167e115ae2ce9798b735d7.tar.gz |
r1967: * dh_installudev: Fix postrm to not fail if the udev symlink is missing.
Closes: #406921
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/postrm-udev | 5 |
1 files changed, 3 insertions, 2 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 |