From 1dda8941433466e94a34514916790879c6338380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Tue, 20 Dec 2005 10:24:09 +0000 Subject: [PATCH] * add missing condition, upgrading to a package without a build number --- pisi/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/operations.py b/pisi/operations.py index 24dd94dd..b4758c94 100644 --- a/pisi/operations.py +++ b/pisi/operations.py @@ -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: