diff options
author | Menno E. Duursma <druiloor@zonnet.nl> | 2010-05-11 19:46:45 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:46:45 +0200 |
commit | 50429056150db116ab36557821d18a3bfd197c44 (patch) | |
tree | c1c524a379b2d21383db4215e44545532ec48ebe /system/watchdog/doinst.sh | |
parent | 337709e77376bec94f384e510b21b4398be6f2df (diff) | |
download | slackbuilds-50429056150db116ab36557821d18a3bfd197c44.tar.gz |
system/watchdog: Updated for version 5.3.1
Diffstat (limited to 'system/watchdog/doinst.sh')
-rw-r--r-- | system/watchdog/doinst.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/watchdog/doinst.sh b/system/watchdog/doinst.sh index 3cf6ace364..a75147f719 100644 --- a/system/watchdog/doinst.sh +++ b/system/watchdog/doinst.sh @@ -1,11 +1,11 @@ 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 |