diff options
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 |