From b60c8df9f7b91899327fd77d4a99fbabab5b230f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 9 Sep 2012 11:35:53 +0200 Subject: Added cleanup logitechmouse.rules symlink to tdebase on Debian and Ubuntu --- debian/squeeze/tdebase/debian/kcontrol-trinity.postinst | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/squeeze/tdebase') diff --git a/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst b/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst index e879da462..4733c3a43 100644 --- a/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst +++ b/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst @@ -5,6 +5,7 @@ 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 -- cgit v1.2.1