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