summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-12-18 07:01:16 -0800
committerZac Medico <zmedico@gentoo.org>2010-12-18 07:01:16 -0800
commit389dc491de2d865ab7592f5c17fc39110921da18 (patch)
tree6a3c89f7354ee068a887f56cb6c6c3a0b038699c /bin
parent66fa9c224f7d44e88344f8c7d24c8da16845eace (diff)
downloadportage-389dc491de2d865ab7592f5c17fc39110921da18.tar.gz
portage-389dc491de2d865ab7592f5c17fc39110921da18.tar.bz2
portage-389dc491de2d865ab7592f5c17fc39110921da18.zip
repoman: ignore deprecated profiles.desc entries
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index c43493b99..185540d35 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -722,6 +722,9 @@ for path in portdb.porttrees:
"Invalid %s profile (%s) for arch %s in %s line %d",
arch[2], arch[1], arch[0], desc_path, i+1)
continue
+ if os.path.exists(
+ os.path.join(profile_desc.abs_path, 'deprecated')):
+ continue
profile_list.append(profile_desc)
desc_file.close()