diff options
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | src/core/libs/lib-misc.sh | 2 | ||||
-rw-r--r-- | src/core/libs/lib-ui.sh | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -26,6 +26,7 @@ it can't kill the process or something... * core/interactive: do not check hard for the dependencies. a user could really know what he's doing or need to reboot after partitioning a disk and skip that check or something. Alternatively, maybe just show which steps are done successfully in the main menu * support maybe ntp to set clock +* auto-configure mkinitcpio.conf for dm_crypt and lvm PRODUCTION PHASE: be the primary installer. deprecate /arch/setup and /arch/quickinst * fix everything even more diff --git a/src/core/libs/lib-misc.sh b/src/core/libs/lib-misc.sh index f4ae997..995307d 100644 --- a/src/core/libs/lib-misc.sh +++ b/src/core/libs/lib-misc.sh @@ -20,7 +20,7 @@ run_background () echo "STARTING $1 . Executing $2 >>$3 2>&1\n" >> $3; var_exit=${1}_exitcode eval "$2" >>$3 2>&1 - read $var_exit <<< $? #TODO: bash complains about 'not a valid identifier' or something iirc -> maybe fixed now.. + read $var_exit <<< $? #TODO: bash complains about 'not a valid identifier' debug "run_background done with $1: exitcode (\$$1_exitcode): "${!var_exit}" .Logfile $3" #TODO ${!var_exit} doesn't show anything --> maybe fixed now echo >> $3 rm -f /home/arch/aif/runtime/$1-running diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh index 5c48b00..bb7511e 100644 --- a/src/core/libs/lib-ui.sh +++ b/src/core/libs/lib-ui.sh @@ -431,7 +431,7 @@ _cli_ask_checklist () item=$1 [ "$2" != '-' -a "$2" != '^' ] && item="$1 ($2)" [ "$3" = ON ] && ask_yesno "Enable $1 ?" yes && output="$output $1" - [ "$3" = OFF ] && ask_yesno "Enable $1 ?" no && output="$output $1" + [ "$3" = OFF ] && ask_yesno "Enable $1 ?" no && output="$output $1" #TODO: for some reason, default is always N when asked to select packages shift 3 done ANSWER_CHECKLIST=$output |