Browse Source

Fix removing old MSI when updating package

master
Daniel Berteaud 2 months ago
parent
commit
e77e0f143b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      setup.py

+ 1
- 1
setup.py View File

@ -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