diff options
Diffstat (limited to 'system/ivman/doinst.sh')
-rw-r--r-- | system/ivman/doinst.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/system/ivman/doinst.sh b/system/ivman/doinst.sh deleted file mode 100644 index 817148292a..0000000000 --- a/system/ivman/doinst.sh +++ /dev/null @@ -1,18 +0,0 @@ -config() { - NEW="$1" - 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 - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/ivman/IvmConfigBase.xml.new -config etc/ivman/IvmConfigActions.xml.new -config etc/ivman/IvmConfigProperties.xml.new -config etc/ivman/IvmConfigConditions.xml.new - |