From fcad8b8d150fb9f508973e3044a103de74ec3877 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 3 Apr 2019 23:02:46 +0900 Subject: DEB: use _base folder for a distro instead of specific distros (squeeze and maverick). Signed-off-by: Michele Calgaro --- ubuntu/_base/tdebase/debian/kcontrol-trinity.postinst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ubuntu/_base/tdebase/debian/kcontrol-trinity.postinst (limited to 'ubuntu/_base/tdebase/debian/kcontrol-trinity.postinst') diff --git a/ubuntu/_base/tdebase/debian/kcontrol-trinity.postinst b/ubuntu/_base/tdebase/debian/kcontrol-trinity.postinst new file mode 100644 index 000000000..4733c3a43 --- /dev/null +++ b/ubuntu/_base/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.1