diff options
author | Philip Lacroix <philnx@bluebottle.com> | 2014-03-11 20:53:39 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-03-12 12:42:51 -0500 |
commit | 7c593e18507a92fc4f177fb587fd232e14cacdc8 (patch) | |
tree | ac263843c01392174a66e5318b7836389d7ae531 /system/glances/doinst.sh | |
parent | a37fc6bd03f81ca48a4086530b719214283724b1 (diff) | |
download | slackbuilds-7c593e18507a92fc4f177fb587fd232e14cacdc8.tar.gz |
system/glances: Updated for version 1.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/glances/doinst.sh')
-rw-r--r-- | system/glances/doinst.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/system/glances/doinst.sh b/system/glances/doinst.sh index 3ec38c6c20..d1bde8d89b 100644 --- a/system/glances/doinst.sh +++ b/system/glances/doinst.sh @@ -1,14 +1,11 @@ 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/glances/glances.conf.new |