-
- 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 ($arch ne 'avr32' and $arch ne 'm68k') {
+ system("ln", "-sf", basename($filelist_db),
+ "$DBDIR/filelists_${suite}_all.db") == 0
+ or die "Oops";
+ }