From: Frank Lichtenheld Date: Sun, 9 Dec 2007 17:28:27 +0000 (+0100) Subject: parse-contents: Don't use gnuab for all symlink X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=c38147cababd110747a260727ba28a4c4f2463e1;p=deb%2Fpackages.git parse-contents: Don't use gnuab for all symlink Otherwise the filelists for non-free Arch: all packages are missing. --- diff --git a/bin/parse-contents b/bin/parse-contents index c254375..2ee39d7 100755 --- a/bin/parse-contents +++ b/bin/parse-contents @@ -140,9 +140,12 @@ for my $suite (@suites) { rename("$DBDIR/reverse.tmp", "$DBDIR/reverse_${suite}_${arch}.txt"); activate($filelist_db); - system("ln", "-sf", $filelist_db, - "$DBDIR/filelists_${suite}_all.db") == 0 - or die "Oops"; + #FIXME: hardcoded archs. (gnuab has no contrib/non-free) + if ($arch !~ m/^(armel|kfreebsd-.*)$/) { + system("ln", "-sf", $filelist_db, + "$DBDIR/filelists_${suite}_all.db") == 0 + or die "Oops"; + } } }