diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-05-13 00:41:59 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:41:59 +0200 |
commit | 7c0fce924fb9e5005f5d8b499409e54c789614e1 (patch) | |
tree | 7168c9d19d1d083acdf4b36133664b61cb5b7664 /system/tiger/doinst.sh | |
parent | 0249adabade7a6501f75bf6209830e9d48af7316 (diff) | |
download | slackbuilds-7c0fce924fb9e5005f5d8b499409e54c789614e1.tar.gz |
system/tiger: Updated for version 3.2.3
Diffstat (limited to 'system/tiger/doinst.sh')
-rw-r--r-- | system/tiger/doinst.sh | 13 |
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 + |