summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/finish-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/finish-install')
-rwxr-xr-xperl-install/standalone/finish-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index b05ac19b0..c3d592faa 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -75,6 +75,7 @@ sub ask_timezone() {
timezone::reload_sys_clock($timezone);
}
+#- COUNTRY=simplified: guess the country from timezone, do not ask
sub ask_country() {
require lang;
$locale ||= lang::read();
@@ -88,7 +89,7 @@ sub ask_country() {
}
}
}
- any::selectCountry($in, $locale);
+ any::selectCountry($in, $locale) if lc(get_conf('COUNTRY')) ne 'simplified';
lang::write_and_install($locale, $in->do_pkgs);
}