diff options
author | joeyh <joeyh> | 2007-04-12 19:53:00 +0000 |
---|---|---|
committer | joeyh <joeyh> | 2007-04-12 19:53:00 +0000 |
commit | 5f8b0ca0ad553f295e7d269e9dc39e63024be18c (patch) | |
tree | cc8f5d0c8f80c25295c4341310311df2a1def15b /autoscripts/postinst-udev | |
parent | e34e7479d1aa03f163b90829ae7d4f859371ed0e (diff) |
r1985: cleanup
Diffstat (limited to 'autoscripts/postinst-udev')
-rw-r--r-- | autoscripts/postinst-udev | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/autoscripts/postinst-udev b/autoscripts/postinst-udev index cbf8dbe4..20cf4dcf 100644 --- a/autoscripts/postinst-udev +++ b/autoscripts/postinst-udev @@ -1,9 +1,9 @@ if [ "$1" = configure ]; then - if [ -e /etc/udev/#FILE# ]; then - echo "Preserving user changes to /etc/udev/rules.d/#PRIO##FILE# ..." - if [ -e /etc/udev/rules.d/#PRIO##FILE# ]; then - mv -f /etc/udev/rules.d/#PRIO##FILE# /etc/udev/rules.d/#PRIO##FILE#.dpkg-new + if [ -e "#OLD#" ]; then + echo "Preserving user changes to #RULE# ..." + if [ -e "#RULE" ]; then + mv -f "#RULE#" "#RULE#.dpkg-new" fi - mv -f /etc/udev/#FILE# /etc/udev/rules.d/#PRIO##FILE# + mv -f "#OLD#" "#RULE#" fi fi |