geoip: add -s option to xt_geoip_build

This commit is contained in:
Jan Engelhardt
2020-05-12 22:49:37 +02:00
parent b87366bb83
commit c9ba3507fc
2 changed files with 7 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ my $target_dir = ".";
&GetOptions(
"D=s" => \$target_dir,
"i=s" => \$input_file,
"s" => sub { $target_dir = "/usr/share/xt_geoip"; },
);
if (!-d $target_dir) {