#FIXME: that's extremely hacky atm
if ($params->{values}{suite}{no_replace}[0] eq 'default') {
$params->{values}{suite}{no_replace} =
- $params->{values}{suite}{final} = $opts->{suite} = [ 'etch' ];
+ $params->{values}{suite}{final} = $opts->{suite} = [ 'lenny' ];
}
if (@{$opts->{suite}} > 1) {
# full filename search is tricky
my $ffn = $mode eq 'filename';
+ unless (-e "$DBDIR/contents/reverse_$suite.db") {
+ fatal_error($cat->g("No contents information available for this suite"));
+ return;
+ }
my $reverses = tie my %reverses, 'DB_File', "$DBDIR/contents/reverse_$suite.db",
O_RDONLY, 0666, $DB_BTREE
or die "Failed opening reverse DB: $!";