summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoscripts/postinst-ucf4
-rw-r--r--autoscripts/postrm-ucf10
2 files changed, 7 insertions, 7 deletions
diff --git a/autoscripts/postinst-ucf b/autoscripts/postinst-ucf
index 633d3ff3..05468310 100644
--- a/autoscripts/postinst-ucf
+++ b/autoscripts/postinst-ucf
@@ -1,4 +1,4 @@
if [ "$1" = "configure" ]; then
- ucf #UCFSRC# #UCFDEST#
- ucfr #PACKAGE# #UCFDEST#
+ ucf "#UCFSRC#" "#UCFDEST#"
+ ucfr #PACKAGE# "#UCFDEST#"
fi
diff --git a/autoscripts/postrm-ucf b/autoscripts/postrm-ucf
index 5b0ef8bd..da375726 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