ebuild(1): pass "installed" arg to Package
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Jun 2011 04:26:20 +0000 (21:26 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Jun 2011 04:26:20 +0000 (21:26 -0700)
bin/ebuild

index 68e52e3edb9e5fe0c1f9a10d7cbd19a868f1e25a..3884b3be3ffb54ae96258873498e2d04378792c0 100755 (executable)
@@ -269,6 +269,7 @@ root_config = RootConfig(portage.settings,
        portage.db[portage.settings["ROOT"]], None)
 
 pkg = Package(built=(pkg_type != "ebuild"), cpv=cpv,
+       installed=(pkg_type=="installed"),
        metadata=metadata, root_config=root_config,
        type_name=pkg_type)