Bug #211294 - Make repoman ignore profiles labeled with anything other
authorZac Medico <zmedico@gentoo.org>
Wed, 27 Feb 2008 16:02:34 +0000 (16:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 27 Feb 2008 16:02:34 +0000 (16:02 -0000)
than "stable" or "dev" in profiles.desc so that we can extend it with
new labels such as "exp". (trunk r9389)

svn path=/main/branches/2.1.2/; revision=9390

bin/repoman

index 3d079f1e76ecafc12a24d608f38d5581a404f6c0..bcd0da164cd34e769fd08371ea1afa3adb961b75 100755 (executable)
@@ -1767,6 +1767,9 @@ for x in scanlist:
                                
                        for prof in profiles[arch]:
 
+                               if prof[1] not in ("stable", "dev"):
+                                       continue
+
                                profdir = portdir+"/profiles/"+prof[0]
        
                                if prof[0] in arch_caches: