summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-udev
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-udev')
-rw-r--r--autoscripts/postrm-udev4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/postrm-udev b/autoscripts/postrm-udev
new file mode 100644
index 0000000..15779ca
--- /dev/null
+++ b/autoscripts/postrm-udev
@@ -0,0 +1,4 @@
+if [ "$1" = purge ]; then
+ [ -L /etc/udev/rules.d/#PRIO##FILE# ] && \
+ rm /etc/udev/rules.d/#PRIO##FILE#
+fi