Skip to content

Commit

Permalink
hafas-m: use VRN by default
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Jan 10, 2025
1 parent 3b71242 commit 346913c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions bin/hafas-m
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,7 @@ if ($list_services) {
exit 0;
}

if ( not $service ) {
say STDERR 'Note: You have called hafas-m without specifying a service.';
say STDERR q{};
say STDERR 'Unfortunately, the previous default service (DB HAFAS)';
say STDERR 'is no more, and there is no generic replacement available.';
say STDERR q{};
say STDERR 'Please use "hafas-m --list" to list supported services,';
say STDERR 'and then select one via -s <service>.';
say STDERR 'Falling back to ÖBB for now.';
$service = 'ÖBB';
}
$service //= 'VRN';

if ($use_cache) {
my $cache_path = ( $ENV{XDG_CACHE_HOME} // "$ENV{HOME}/.cache" )
Expand Down

0 comments on commit 346913c

Please sign in to comment.