diff options
Diffstat (limited to 'misc/cwiid/doinst.sh')
-rw-r--r-- | misc/cwiid/doinst.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/misc/cwiid/doinst.sh b/misc/cwiid/doinst.sh index 4a2e19e598..e52d1fc170 100644 --- a/misc/cwiid/doinst.sh +++ b/misc/cwiid/doinst.sh @@ -1,15 +1,11 @@ - 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... } preserve_perms() { |