mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-11-22 21:10:41 +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)
|
ver = self.__get_new_ver(pkg.dirname, arch)
|
||||||
oldver = self.__pkgvers.get(pkg.dirname, None)
|
oldver = self.__pkgvers.get(pkg.dirname, None)
|
||||||
has_update = False
|
has_update = False
|
||||||
|
if rebuild_package:
|
||||||
|
has_update = True
|
||||||
if oldver:
|
if oldver:
|
||||||
res = vercmp(ver, oldver)
|
res = vercmp(ver, oldver)
|
||||||
if res == 1:
|
if res == 1:
|
||||||
|
|
Loading…
Reference in a new issue