summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/core/tdebase/debian/kcontrol-trinity.postinst
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-11-15 19:23:30 +0800
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-11-15 19:23:30 +0800
commit0277521b268b21caf0ee21202b92784f302baadc (patch)
tree5d856f96adfbe46b57da31cf60daa1084b4e7a1e /ubuntu/_base/core/tdebase/debian/kcontrol-trinity.postinst
parenteb16e7c7281e182297581fa8d565561869c81bca (diff)
downloadtde-packaging-0277521b268b21caf0ee21202b92784f302baadc.tar.gz
tde-packaging-0277521b268b21caf0ee21202b92784f302baadc.zip
DEB: adjusted to new 'core' folder for main packages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/core/tdebase/debian/kcontrol-trinity.postinst')
-rw-r--r--ubuntu/_base/core/tdebase/debian/kcontrol-trinity.postinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/ubuntu/_base/core/tdebase/debian/kcontrol-trinity.postinst b/ubuntu/_base/core/tdebase/debian/kcontrol-trinity.postinst
new file mode 100644
index 000000000..4733c3a43
--- /dev/null
+++ b/ubuntu/_base/core/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