summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-udev
blob: 20cf4dcf9a869df2e3205ebcacdd7ff23873296e (plain)
1
2
3
4
5
6
7
8
9
if [ "$1" = configure ]; then
	if [ -e "#OLD#" ]; then
		echo "Preserving user changes to #RULE# ..."
		if [ -e "#RULE" ]; then
			mv -f "#RULE#" "#RULE#.dpkg-new"
		fi
		mv -f "#OLD#" "#RULE#"
	fi
fi