mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-12-22 19:09:23 +08:00
fix rebuild bug
This commit is contained in:
parent
0625e70a4a
commit
5202ac516a
1 changed files with 2 additions and 0 deletions
|
@ -326,6 +326,8 @@ class updateManager:
|
|||
ver = self.__get_new_ver(pkg.dirname, arch)
|
||||
oldver = self.__pkgvers.get(pkg.dirname, None)
|
||||
has_update = False
|
||||
if rebuild_package:
|
||||
has_update = True
|
||||
if oldver:
|
||||
res = vercmp(ver, oldver)
|
||||
if res == 1:
|
||||
|
|
Loading…
Reference in a new issue