]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-udev
20cf4dcf9a869df2e3205ebcacdd7ff23873296e
[debhelper.git] / autoscripts / postinst-udev
1 if [ "$1" = configure ]; then
2         if [ -e "#OLD#" ]; then
3                 echo "Preserving user changes to #RULE# ..."
4                 if [ -e "#RULE" ]; then
5                         mv -f "#RULE#" "#RULE#.dpkg-new"
6                 fi
7                 mv -f "#OLD#" "#RULE#"
8         fi
9 fi