summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-udev
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-udev')
-rw-r--r--autoscripts/postrm-udev5
1 files changed, 3 insertions, 2 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