diff options
author | Michal Bialozor <bialyy@o2.pl> | 2013-03-03 01:27:45 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-03-03 01:27:45 -0600 |
commit | ea74f4eef1684a57e2eb75df39eabefbc8448f19 (patch) | |
tree | e0ce7b9f6e4edb2f939414a89fd3d1ca182db1f6 /network/zabbix_agentd/doinst.sh | |
parent | a6d01c2252608b2fc7f20527765dcbb1322938df (diff) | |
download | slackbuilds-ea74f4eef1684a57e2eb75df39eabefbc8448f19.tar.gz |
network/zabbix_agentd: Updated for version 1.8.16.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/zabbix_agentd/doinst.sh')
-rw-r--r-- | network/zabbix_agentd/doinst.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/zabbix_agentd/doinst.sh b/network/zabbix_agentd/doinst.sh index 1e9c6b4428..7b1ef056d9 100644 --- a/network/zabbix_agentd/doinst.sh +++ b/network/zabbix_agentd/doinst.sh @@ -4,7 +4,8 @@ config() { # 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 + 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... |