diff options
Diffstat (limited to 'system/slackins/doinst.sh')
-rw-r--r-- | system/slackins/doinst.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/system/slackins/doinst.sh b/system/slackins/doinst.sh deleted file mode 100644 index 8a46b92aa7..0000000000 --- a/system/slackins/doinst.sh +++ /dev/null @@ -1,16 +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/slackins/slackproc.conf.new -config etc/slackins/slack_descrc.new - |