From: Zac Medico Date: Sun, 2 Jul 2006 07:56:09 +0000 (-0000) Subject: Add support for licenses in overlays (bug #137975). X-Git-Tag: v2.1.1~300 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff7273fea9c25093edff5258e3154e118d2d9e4a;p=portage.git Add support for licenses in overlays (bug #137975). svn path=/main/trunk/; revision=3751 --- diff --git a/bin/repoman b/bin/repoman index 51aaff442..2342b1dab 100755 --- a/bin/repoman +++ b/bin/repoman @@ -581,9 +581,11 @@ except: err("Couldn't read USE flags from use.desc") # retrieve a list of current licenses in portage -liclist=portage.listdir(portdir+"/licenses") +liclist = set(portage.listdir(os.path.join(portdir, "licenses"))) if not liclist: err("Couldn't find licenses?") +if portdir_overlay != portdir: + liclist.update(portage.listdir(os.path.join(portdir_overlay, "licenses"))) # retrieve list of offical keywords try: