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) configure)
LINK="/etc/udev/rules.d/025_logitechmouse.rules" LINK="/etc/udev/rules.d/025_logitechmouse.rules"
[ -e "$LINK" ] || [ -L "$LINK" ] || [ ! -f "${LINK%/rules.d/*}/logitechmouse.rules" ] || ln -s ../logitechmouse.rules "$LINK" [ -e "$LINK" ] || [ -L "$LINK" ] || [ ! -f "${LINK%/rules.d/*}/logitechmouse.rules" ] || ln -s ../logitechmouse.rules "$LINK"
[ ! -L "$LINK" ] || [ -e "$LINK" ] || rm "$LINK"
;; ;;
esac esac

@ -5,6 +5,7 @@ case "$1" in
configure) configure)
LINK="/etc/udev/rules.d/025_logitechmouse.rules" LINK="/etc/udev/rules.d/025_logitechmouse.rules"
[ -e "$LINK" ] || [ -L "$LINK" ] || [ ! -f "${LINK%/rules.d/*}/logitechmouse.rules" ] || ln -s ../logitechmouse.rules "$LINK" [ -e "$LINK" ] || [ -L "$LINK" ] || [ ! -f "${LINK%/rules.d/*}/logitechmouse.rules" ] || ln -s ../logitechmouse.rules "$LINK"
[ ! -L "$LINK" ] || [ -e "$LINK" ] || rm "$LINK"
;; ;;
esac esac

@ -5,6 +5,7 @@ case "$1" in
configure) configure)
LINK="/etc/udev/rules.d/025_logitechmouse.rules" LINK="/etc/udev/rules.d/025_logitechmouse.rules"
[ -e "$LINK" ] || [ -L "$LINK" ] || [ ! -f "${LINK%/rules.d/*}/logitechmouse.rules" ] || ln -s ../logitechmouse.rules "$LINK" [ -e "$LINK" ] || [ -L "$LINK" ] || [ ! -f "${LINK%/rules.d/*}/logitechmouse.rules" ] || ln -s ../logitechmouse.rules "$LINK"
[ ! -L "$LINK" ] || [ -e "$LINK" ] || rm "$LINK"
;; ;;
esac esac

Loading…
Cancel
Save