summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/lenny/tdebase/debian/kcontrol-trinity.postinst1
-rw-r--r--debian/squeeze/tdebase/debian/kcontrol-trinity.postinst1
-rw-r--r--ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst1
3 files changed, 3 insertions, 0 deletions
diff --git a/debian/lenny/tdebase/debian/kcontrol-trinity.postinst b/debian/lenny/tdebase/debian/kcontrol-trinity.postinst
index e879da462..4733c3a43 100644
--- a/debian/lenny/tdebase/debian/kcontrol-trinity.postinst
+++ b/debian/lenny/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
diff --git a/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst b/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst
index e879da462..4733c3a43 100644
--- a/debian/squeeze/tdebase/debian/kcontrol-trinity.postinst
+++ b/debian/squeeze/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
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