X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostrm-ucf;h=da3757269f77846268e8976fd7600fb9bedb5ba0;hb=e2a6d4cec4a7ee952cf6a7f250d80f1d75a38f95;hp=5b0ef8bd127bceefb8ed6a0608f9349440e09ef9;hpb=1ed58d415e9ff542219880a189c44eb55398fcd6;p=debhelper.git diff --git a/autoscripts/postrm-ucf b/autoscripts/postrm-ucf index 5b0ef8b..da37572 100644 --- a/autoscripts/postrm-ucf +++ b/autoscripts/postrm-ucf @@ -1,12 +1,12 @@ if [ "$1" = "purge" ]; then for ext in .ucf-new .ucf-old .ucf-dist ""; do - rm -f #UCFDEST#$ext + rm -f "#UCFDEST#$ext" done - if [ -x `which ucf 2>/dev/null` ]; then - ucf --purge #UCFDEST# + if [ -x "`which ucf 2>/dev/null`" ]; then + ucf --purge "#UCFDEST#" fi - if [ -x `which ucfr 2>/dev/null` ]; then - ucfr --purge #PACKAGE# #UCFDEST# + if [ -x "`which ucfr 2>/dev/null`" ]; then + ucfr --purge #PACKAGE# "#UCFDEST#" fi fi