aboutsummaryrefslogtreecommitdiff
path: root/system/ivman/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/ivman/doinst.sh')
-rw-r--r--system/ivman/doinst.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/ivman/doinst.sh b/system/ivman/doinst.sh
index f8bc992646fbe..6a0871c4dc64f 100644
--- a/system/ivman/doinst.sh
+++ b/system/ivman/doinst.sh
@@ -2,19 +2,19 @@
config() {
NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/ivman/IvmConfigActions.xml
-config etc/ivman/IvmConfigProperties.xml
-config etc/ivman/IvmConfigBase.xml
-config etc/ivman/IvmConfigConditions.xml
+config etc/ivman/IvmConfigBase.xml.new
+config etc/ivman/IvmConfigActions.xml.new
+config etc/ivman/IvmConfigProperties.xml.new
+config etc/ivman/IvmConfigConditions.xml.new