summaryrefslogtreecommitdiff
path: root/system/tiger/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/tiger/doinst.sh')
-rw-r--r--system/tiger/doinst.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/system/tiger/doinst.sh b/system/tiger/doinst.sh
index 71e967245c..ffea98c3ba 100644
--- a/system/tiger/doinst.sh
+++ b/system/tiger/doinst.sh
@@ -1,20 +1,17 @@
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...
}
-
-# Try not to mess over any costum settings
config etc/tiger/cronrc.new
config etc/tiger/tigerrc.new
-config usr/share/tiger/initdefs.new
-config usr/share/tiger/check.tbl.new
-config usr/share/tiger/syslist.new
-config usr/share/tiger/config.new
+config etc/tiger/tiger.ignore.new
+config etc/cron.d/tiger.new
+