Fix removing old MSI when updating package

master
Daniel Berteaud 4 years ago
parent 1d7da50969
commit e77e0f143b
  1. 2
      setup.py

@ -82,7 +82,7 @@ def update_package():
url = 'https://www.zabbix.com/downloads/%s/%s' % (latest_version, filename)
print('Downloading %s from %s' % (filename, url))
wget(url, filename)
for old in glob.glob(r'zabbix_agent-*-win-%s-openssl.msi' % arch):
for old in glob.glob(r'zabbix_agent-*-windows-%s-openssl.msi' % arch):
if not old == filename:
remove_file(old)

Loading…
Cancel
Save