diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-06-17 02:35:18 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-17 02:35:18 +0200 |
commit | fb5dadf2c1e5c47cc7be3fc61a4b2b2e75670be6 (patch) | |
tree | cb4fc168b9da44ce1b050ee5c9c098020b4929e5 /debian/lenny | |
parent | 459259fd7f8d3f5aa30e90f12165eb426f3116d6 (diff) | |
download | tde-packaging-fb5dadf2c1e5c47cc7be3fc61a4b2b2e75670be6.tar.gz tde-packaging-fb5dadf2c1e5c47cc7be3fc61a4b2b2e75670be6.zip |
Fix symlink creation, if not installed logitechmouse.rules
Diffstat (limited to 'debian/lenny')
-rw-r--r-- | debian/lenny/tdebase/debian/kcontrol-trinity.postinst | 2 |
1 files changed, 1 insertions, 1 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 |