diff options
author | Michal Bialozor <bialyy@o2.pl> | 2013-03-03 01:36:19 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-03-03 01:36:19 -0600 |
commit | a86c8a0d1b7afe02cf14969fa3571c1f04222596 (patch) | |
tree | 23be4b5dc48ac755f9f562f7fbe680057d0889e4 /network/zabbix_proxy/doinst.sh | |
parent | ea74f4eef1684a57e2eb75df39eabefbc8448f19 (diff) | |
download | slackbuilds-a86c8a0d1b7afe02cf14969fa3571c1f04222596.tar.gz |
network/zabbix_proxy: Updated for version 1.8.16.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/zabbix_proxy/doinst.sh')
-rw-r--r-- | network/zabbix_proxy/doinst.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/zabbix_proxy/doinst.sh b/network/zabbix_proxy/doinst.sh index 03b7615227..07906e2ee0 100644 --- a/network/zabbix_proxy/doinst.sh +++ b/network/zabbix_proxy/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... |