From fb5dadf2c1e5c47cc7be3fc61a4b2b2e75670be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 17 Jun 2012 02:35:18 +0200 Subject: Fix symlink creation, if not installed logitechmouse.rules --- ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ubuntu/maverick/tdebase') diff --git a/ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst b/ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst index 77efdbda7..e879da462 100644 --- a/ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst +++ b/ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst @@ -4,7 +4,7 @@ case "$1" in configure) LINK="/etc/udev/rules.d/025_logitechmouse.rules" - [ -e "$LINK" ] || [ -L "$LINK" ] || ln -s ../logitechmouse.rules "$LINK" + [ -e "$LINK" ] || [ -L "$LINK" ] || [ ! -f "${LINK%/rules.d/*}/logitechmouse.rules" ] || ln -s ../logitechmouse.rules "$LINK" ;; esac -- cgit v1.2.3