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