fix ports upgrades due to version changes

This commit is contained in:
Alon Zakai 2014-10-23 11:25:58 -07:00
Родитель 5ae8b07f24
Коммит 28a06c8842
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -667,8 +667,8 @@ class Ports:
shared.try_delete(fullname)
shared.try_delete(fullname + '.zip')
retrieve()
assert check_version(expected_version), 'just retrieved replacement port ' + name + ', but not a new enough version?'
unpack()
assert check_version(expected_version), 'just retrieved replacement port ' + name + ', but not a new enough version?'
if State.unpacked:
# we unpacked a new version, clear the build in the cache