-
- rename("$filelist_db.new", $filelist_db);
- system("ln", "-sf", $filelist_db, "$DBDIR/filelists_${suite}_all.db") == 0
- or die "Oops";
+
+ activate($filelist_db);
+ #FIXME: hardcoded archs. (debports has no contrib/non-free)
+ if (not exists $deborts_hash{$arch}) {
+ system("ln", "-sf", basename($filelist_db),
+ "$DBDIR/filelists_${suite}_all.db") == 0
+ or die "Oops";
+ }