summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdebase
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2012-06-17 02:35:18 +0200
committerSlávek Banko <[email protected]>2012-06-17 02:35:18 +0200
commitfb5dadf2c1e5c47cc7be3fc61a4b2b2e75670be6 (patch)
treecb4fc168b9da44ce1b050ee5c9c098020b4929e5 /ubuntu/maverick/tdebase
parent459259fd7f8d3f5aa30e90f12165eb426f3116d6 (diff)
downloadtde-packaging-fb5dadf2c1e5c47cc7be3fc61a4b2b2e75670be6.tar.gz
tde-packaging-fb5dadf2c1e5c47cc7be3fc61a4b2b2e75670be6.zip
Fix symlink creation, if not installed logitechmouse.rules
Diffstat (limited to 'ubuntu/maverick/tdebase')
-rw-r--r--ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst b/ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst
index 77efdbda7..e879da462 100644
--- a/ubuntu/maverick/tdebase/debian/kcontrol-trinity.postinst
+++ b/ubuntu/maverick/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