X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=bin%2Fparse-contents;h=791eaeb799f60b168a24f85fc0decb8f04cdf58c;hb=fd06decedb2bda1fc34e32f890e238f92a603e0d;hp=a72bb71aefac3e96a904993764e3065062f4b7c1;hpb=24c23c4eebaf4fa86fd27f1c65fa3f220ce30059;p=deb%2Fpackages.git diff --git a/bin/parse-contents b/bin/parse-contents index a72bb71..791eaeb 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( alpha avr32 armhf hppa 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 'm68k') { + if (not exists $deborts_hash{$arch}) { system("ln", "-sf", basename($filelist_db), "$DBDIR/filelists_${suite}_all.db") == 0 or die "Oops";