Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Delete detected country code from the script and delete mention in th…
Browse files Browse the repository at this point in the history
…e README
  • Loading branch information
Rawleenc committed May 30, 2022
1 parent d52f048 commit 67fb81d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Optional packages bundles are also available :

Some informations will be gathered using your IP address with ipapi.co API in order to propose more relevant default values for prompts and better mirror sorting :
- Language, to propose an adapted default global language and keymap
- Country code, to propose a better mirror sorting
- Timezone, to propose an adapted default value for the timezone

Time will be synchronized using systemd timesyncd.
Expand Down
2 changes: 0 additions & 2 deletions archlinux_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -1251,9 +1251,7 @@ def pre_launch_steps() -> {}:
geoip_info = json.loads(response.read())
detected_language = str(geoip_info["languages"]).split(",", maxsplit=1)[0]
detected_timezone = geoip_info["timezone"]
detected_country_code = geoip_info["country_code"]
pre_launch_info = environment_config(detected_language)
pre_launch_info["detected_country_code"] = detected_country_code
pre_launch_info["detected_timezone"] = detected_timezone
pre_launch_info["live_console_font"] = locale_setup(keymap=pre_launch_info["keymap"],
global_language=pre_launch_info["global_language"])
Expand Down

0 comments on commit 67fb81d

Please sign in to comment.