Added cleanup logitechmouse.rules symlink to tdebase on Debian and Ubuntu

pull/3/head
Slávek Banko 12 years ago
parent 8c8660b789
commit b60c8df9f7

@ -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

@ -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

@ -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

Loading…
Cancel
Save