Skip to content
Snippets Groups Projects
Commit 362f9394 authored by Bob Mottram's avatar Bob Mottram
Browse files

Ensure that already installed apps have chosen state

parent c19a1e67
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,15 @@ function select_specific_app {
app_name="$1"
app_is_chosen="$2"
# make sure that already installed apps are chosen
app_index=0
# shellcheck disable=SC2068
for a in ${APPS_AVAILABLE[@]}
do
APPS_CHOSEN[$app_index]=${APPS_INSTALLED[$app_index]}
app_index=$((app_index+1))
done
app_index=0
# shellcheck disable=SC2068
for a in ${APPS_AVAILABLE[@]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment