summaryrefslogtreecommitdiff
path: root/network/zabbix_proxy/doinst.sh
diff options
context:
space:
mode:
authorMichal Bialozor <bialyy@o2.pl>2013-03-03 01:36:19 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-03-03 01:36:19 -0600
commita86c8a0d1b7afe02cf14969fa3571c1f04222596 (patch)
tree23be4b5dc48ac755f9f562f7fbe680057d0889e4 /network/zabbix_proxy/doinst.sh
parentea74f4eef1684a57e2eb75df39eabefbc8448f19 (diff)
downloadslackbuilds-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.sh3
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...