You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
298 B
16 lines
298 B
12 years ago
|
#!/bin/sh -e
|
||
|
|
||
|
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
|
||
|
|
||
|
#DEBHELPER#
|
||
|
|
||
|
exit 0
|