Fix removing old MSI when updating package

This commit is contained in:
Daniel Berteaud 2020-09-29 12:10:42 +02:00
parent 1d7da50969
commit e77e0f143b
1 changed files with 1 additions and 1 deletions

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)