X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=bin%2Fparse-contents;h=ab7df273fb3a20f16fd4e483712bbbcd82836324;hb=1cd6b78f69f171c418386ed2d6ce4fd5e1e9570a;hp=11d076f49f2799a1f17c747abc5e72e4792bf63f;hpb=d2c37ad5a233f2026d3309905f6715ec672be45b;p=deb%2Fpackages.git diff --git a/bin/parse-contents b/bin/parse-contents index 11d076f..ab7df27 100755 --- a/bin/parse-contents +++ b/bin/parse-contents @@ -46,6 +46,8 @@ use Packages::Config qw( $TOPDIR $DBDIR @ARCHIVES @SUITES @ARCHITECTURES ); my @archives = @ARCHIVES; my @suites = @SUITES; my @archs = @ARCHITECTURES; +my %deborts_hash; +@deborts_hash{qw( avr32 m68k powerpcspe sh4 sparc64 )} = (); $DBDIR .= "/contents"; mkdirp( $DBDIR ); @@ -142,7 +144,7 @@ for my $suite (@suites) { activate($filelist_db); #FIXME: hardcoded archs. (debports has no contrib/non-free) - if ($arch ne 'avr32' and $arch ne 'm68k') { + if (not exists $deborts_hash{$arch}) { system("ln", "-sf", basename($filelist_db), "$DBDIR/filelists_${suite}_all.db") == 0 or die "Oops";