index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Dylan M. Taylor <dylan@dylanmtaylor.com> | 2021-04-22 19:36:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 19:36:32 -0400 |
commit | 95e73f65a7ea41c49ba2186124517d52dd962eb8 (patch) | |
tree | 3b658174b83c2013e305ab80f6f5cfd1ec56d3dc /archinstall/lib | |
parent | b963ed2631d5d054ae438822183bc67038fdf0e5 (diff) |
-rw-r--r-- | archinstall/lib/user_interaction.py | 2 |
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index dcb51e2a..b1437382 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -134,7 +134,7 @@ def ask_for_a_timezone(): timezone = input('Enter a valid timezone (examples: Europe/Stockholm, US/Eastern) or press enter to use UTC: ').strip() if timezone == '': timezone = 'UTC' - if (pathlib.Path("/usr")/"share"/"zoneinfo"/timezone).exists(): + if (pathlib.Path("/usr")/"share"/"zoneinfo"/timezone.strip('*.')).exists(): return timezone else: log( |