* add missing condition, upgrading to a package without a build number

This commit is contained in:
Eray Özkural
2005-12-20 10:24:09 +00:00
parent 0712a86e22
commit 1dda894143
+1 -1
View File
@@ -284,7 +284,7 @@ def upgrade_pkg_names(A = []):
(version, release, build) = ctx.installdb.get_version(x)
pkg = packagedb.get_package(x)
if ignore_build or (not build):
if ignore_build or (not build) or (not pkg.build):
if release < pkg.release:
Ap.append(x)
else: