20 lines
352 B
20 lines
352 B
#!/bin/sh -e
|
|
|
|
if [ "${BASEDIR:=/}" = "/" ]; then
|
|
BASEDIR=""
|
|
fi
|
|
|
|
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
|