From 51c3322ebaed2029aab342f10b759e982e05668f Mon Sep 17 00:00:00 2001 From: joeyh Date: Thu, 23 Feb 2006 16:51:33 +0000 Subject: r1881: * Add dh_installudev by Marco d'Itri. --- autoscripts/postinst-udev | 3 +++ autoscripts/postrm-udev | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 autoscripts/postinst-udev create mode 100644 autoscripts/postrm-udev (limited to 'autoscripts') diff --git a/autoscripts/postinst-udev b/autoscripts/postinst-udev new file mode 100644 index 00000000..e73cb010 --- /dev/null +++ b/autoscripts/postinst-udev @@ -0,0 +1,3 @@ +if [ "$1" = configure -a -z "$2" ]; then + ln -s ../#FILE# /etc/udev/rules.d/#PRIO##FILE# +fi diff --git a/autoscripts/postrm-udev b/autoscripts/postrm-udev new file mode 100644 index 00000000..15779ca6 --- /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 -- cgit v1.2.3