Don't clear available apps array

This commit is contained in:
Bob Mottram 2016-10-15 10:43:34 +01:00
parent 93e62eb31a
commit df6af676ee
2 changed files with 3 additions and 1 deletions

View File

@ -311,7 +311,6 @@ function choose_apps_for_variant {
FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
APPS_AVAILABLE=()
APPS_CHOSEN=()
# for all the app scripts

View File

@ -518,6 +518,9 @@ function setup_apps {
function_check create_completion_file
create_completion_file
function_ckeck detect_installable_apps
detect_installable_apps
function_check choose_apps_for_variant
choose_apps_for_variant "$SYSTEM_TYPE"