summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/kdebase/debian/kcontrol-trinity.postinst
blob: 4733c3a435f81e941a3a956d0ff5ebd782caa5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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