]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-udev
r2004: file. (Thanks Wakko)
[debhelper.git] / autoscripts / postinst-udev
index 20cf4dcf9a869df2e3205ebcacdd7ff23873296e..40b953dd6ea9481dd7e469dacb9d931d619b918c 100644 (file)
@@ -1,7 +1,7 @@
 if [ "$1" = configure ]; then
        if [ -e "#OLD#" ]; then
                echo "Preserving user changes to #RULE# ..."
-               if [ -e "#RULE" ]; then
+               if [ -e "#RULE#" ]; then
                        mv -f "#RULE#" "#RULE#.dpkg-new"
                fi
                mv -f "#OLD#" "#RULE#"