diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-10 18:43:39 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-10 18:43:39 +0100 |
commit | 346913c84b16ec5e97d8fbe3809b863f92f41b99 (patch) | |
tree | 89c70b9a67104713a0b582be63a80bc8015ff66a | |
parent | 3b712427964d187605ea114d15852cb1c0978648 (diff) |
hafas-m: use VRN by default
-rwxr-xr-x | bin/hafas-m | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/bin/hafas-m b/bin/hafas-m index a6899b0..d2344ed 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -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" ) |