From 0277521b268b21caf0ee21202b92784f302baadc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 15 Nov 2020 19:23:30 +0800 Subject: DEB: adjusted to new 'core' folder for main packages. Signed-off-by: Michele Calgaro --- .../_base/core/tdebase/debian/kcontrol-trinity.postinst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ubuntu/_base/core/tdebase/debian/kcontrol-trinity.postinst (limited to 'ubuntu/_base/core/tdebase/debian/kcontrol-trinity.postinst') 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 -- cgit v1.2.3