summaryrefslogtreecommitdiffstats
path: root/debian/lenny
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-09-09 11:35:53 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-09-09 11:38:26 +0200
commitb60c8df9f7b91899327fd77d4a99fbabab5b230f (patch)
tree69facf68f5e3c9a8d5494983375dfe8aa1b490a5 /debian/lenny
parent8c8660b7891b3e275fa160c216f69a4cb092fc7a (diff)
downloadtde-packaging-b60c8df9f7b91899327fd77d4a99fbabab5b230f.tar.gz
tde-packaging-b60c8df9f7b91899327fd77d4a99fbabab5b230f.zip
Added cleanup logitechmouse.rules symlink to tdebase on Debian and Ubuntu
Diffstat (limited to 'debian/lenny')
-rw-r--r--debian/lenny/tdebase/debian/kcontrol-trinity.postinst1
1 files changed, 1 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