diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-05-11 03:37:27 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-05-14 06:24:37 -0400 |
commit | f71f321bd7a27cf0ba106d274b50519663324fa8 (patch) | |
tree | 8262cf8457ab0317345281507da8460571ec2c11 | |
parent | 54bb8eafb2e2effdfd6ebcf1d4d1e78122a7e699 (diff) |
revertme wip debuggingwip-2022-05-14.0
-rw-r--r-- | .session_state | 8 | ||||
-rwxr-xr-x | install.sh | 1 | ||||
-rw-r--r-- | session-common.sh.inc | 5 |
3 files changed, 10 insertions, 4 deletions
diff --git a/.session_state b/.session_state index 5048f89..7e0c9a6 100644 --- a/.session_state +++ b/.session_state @@ -1,3 +1,5 @@ -LANG=_UNDEFINED_ -XKBMAP=_UNDEFINED_ -SESSION=_UNDEFINED_ +LANG=eo +TR_KEY=eo +XKBMAP=epo +SESSION=cli +INSTALL=online @@ -566,6 +566,7 @@ NoticeOptional # Explain that the next decisions are optional SelectBoot # Choose to install bootloader SelectWmde # Choose to install graphical environment (bypassed per SelectDefaults) SelectEnv # Set environment parameters for the target system (bypassed per SelectDefaults) +echo DONE ; exit ; SelectPartition # Partition manually or defer to automatic NoticeReady # List chosen options and offer last chance to bail Partition # Automatic partition and mount target disks (non-interactive) diff --git a/session-common.sh.inc b/session-common.sh.inc index 57c8b9a..c7bff4e 100644 --- a/session-common.sh.inc +++ b/session-common.sh.inc @@ -49,7 +49,7 @@ GetStateVar() # (var_name [def_value]) local var_name=$1 local def_value=$2 local stored_value=$(grep "${var_name}=" "${THIS_DIR}"/.session_state | cut -d '=' -f 2) - +# echo "var_name=$var_name def_value=$def_value stored_value=$stored_value " >&2 if [[ -n "${stored_value}" ]] && [[ "${stored_value}" != '_UNDEFINED_' ]] then echo ${stored_value} else echo ${def_value} @@ -337,3 +337,6 @@ source "${THIS_DIR}"/translations.sh.inc SetLang() { Lang=$( (( ${TRANSLATIONS[$1]} )) && echo $1 || echo ${DEF_TRKEY} ) ; } Lang='' ; SetLang $(GetStateVar 'TR_KEY' ${DEF_TRKEY}) ; + + +# echo "session-common.sh.inc OUT" |