diff options
author | Guillermo Bonvehi <gbonvehi@gmail.com> | 2010-05-11 19:46:30 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:46:30 +0200 |
commit | cdbf629d170bcb7b0033e019655869332b151cf8 (patch) | |
tree | 4bfb45e9240cde36518d9d5b9f7669761d3bb129 /system/ivman/doinst.sh | |
parent | 201933c6707b8ad323fc2ebd178b095ce8856908 (diff) |
system/ivman: Updated for version 0.6.14
Diffstat (limited to 'system/ivman/doinst.sh')
-rw-r--r-- | system/ivman/doinst.sh | 12 |
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 |