diff options
Diffstat (limited to 'source/ap/linuxdoc-tools/doinst.sh')
-rw-r--r-- | source/ap/linuxdoc-tools/doinst.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/ap/linuxdoc-tools/doinst.sh b/source/ap/linuxdoc-tools/doinst.sh deleted file mode 100644 index b9a1d17b6..000000000 --- a/source/ap/linuxdoc-tools/doinst.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -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 [ "$( md5sum < $OLD )" = "$( md5sum < $NEW )" ]; then # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - |