1 Apr 2008 01:12
portage r9654 - main/trunk/pym/_emerge
Author: zmedico
Date: 2008-03-31 23:12:14 +0000 (Mon, 31 Mar 2008)
New Revision: 9654
Modified:
main/trunk/pym/_emerge/__init__.py
Log:
In the package selection loop, move the installed package rejection
code as early as possible.
Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py 2008-03-31 21:08:10 UTC (rev 9653)
+++ main/trunk/pym/_emerge/__init__.py 2008-03-31 23:12:14 UTC (rev 9654)
<at> <at> -2572,6 +2572,11 <at> <at>
for db, pkg_type, built, installed, db_keys in dbs:
if existing_node:
break
+ if installed and not find_existing_node:
+ want_reinstall = empty or \
+ (found_available_arg and not selective)
+ if want_reinstall and matched_packages:
+ continue
if hasattr(db, "xmatch"):
cpv_list = db.xmatch("match-all", atom)
else:
<at> <at> -2698,20 +2703,11 <at> <at>
pkgsettings.setcpv(cpv, mydb=metadata)
metadata["USE"] = pkgsettings["PORTAGE_USE"]
myeb = cpv
(Continue reading)
RSS Feed