Keep the chooser's region when the summary shows the timezone's region
This commit is contained in:
1 parent
75d00a2036
commit
e8715fc888
1 file changed
+4
-4
@@ -385,10 +385,10 @@ user_step() {
|
|||||||
|
|
||||||
# The timezone selects the region (mirrors and repositories), using the
|
# The timezone selects the region (mirrors and repositories), using the
|
||||||
# same lookup as the orchestrator. Global installs get no extra row.
|
# same lookup as the orchestrator. Global installs get no extra row.
|
||||||
region=$(cd /usr/share/omarchy-iso 2>/dev/null && python -m orchestrator.region "$timezone") || region="global"
|
local summary_region region_row=""
|
||||||
region_row=""
|
summary_region=$(cd /usr/share/omarchy-iso 2>/dev/null && python -m orchestrator.region "$timezone") || summary_region="global"
|
||||||
if [[ $region != "global" ]]; then
|
if [[ $summary_region != "global" ]]; then
|
||||||
region_row="\n$(omarchy_text Region),$region"
|
region_row="\n$(omarchy_text Region),$summary_region"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add manual padding since gum table -p doesn't respect padding
|
# Add manual padding since gum table -p doesn't respect padding
|
||||||
|
|||||||
Reference in new issue
Block a user