summaryrefslogtreecommitdiffstats
path: root/debian/squeeze
diff options
context:
space:
mode:
Diffstat (limited to 'debian/squeeze')
-rw-r--r--debian/squeeze/tdebase/debian/kcontrol-trinity.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst b/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst
index 77efdbda7..e879da462 100644
--- a/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst
+++ b/debian/squeeze/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