diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/lenny/tdebase/debian/kcontrol-trinity.postinst | 2 | ||||
-rw-r--r-- | debian/squeeze/tdebase/debian/kcontrol-trinity.postinst | 2 |
2 files changed, 2 insertions, 2 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 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 |