summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/tdebase/debian/kcontrol-trinity.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/tdebase/debian/kcontrol-trinity.postinst')
-rw-r--r--ubuntu/precise/tdebase/debian/kcontrol-trinity.postinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/ubuntu/precise/tdebase/debian/kcontrol-trinity.postinst b/ubuntu/precise/tdebase/debian/kcontrol-trinity.postinst
new file mode 100644
index 000000000..4733c3a43
--- /dev/null
+++ b/ubuntu/precise/tdebase/debian/kcontrol-trinity.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+case "$1" in
+
+ configure)
+ LINK="/etc/udev/rules.d/025_logitechmouse.rules"
+ [ -e "$LINK" ] || [ -L "$LINK" ] || [ ! -f "${LINK%/rules.d/*}/logitechmouse.rules" ] || ln -s ../logitechmouse.rules "$LINK"
+ [ ! -L "$LINK" ] || [ -e "$LINK" ] || rm "$LINK"
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0