diff options
-rwxr-xr-x | bin/repoman | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman index 3633582a4..51aaff442 100755 --- a/bin/repoman +++ b/bin/repoman @@ -553,6 +553,18 @@ except (IOError, OSError, ParseError), e: print >> sys.stderr, str(e) err("Couldn't read from use.local.desc") +if portdir_overlay != portdir: + filename = os.path.join(portdir_overlay, "profiles", "use.local.desc") + if os.path.exists(filename): + try: + f = open(filename) + parse_use_local_desc(f, luselist) + f.close() + except (IOError, OSError, ParseError), e: + print >> sys.stderr, str(e) + err("Couldn't read from '%s'" % filename) + del filename + # setup a uselist from portage uselist=[] try: |