Detect installed apps

This commit is contained in:
Bob Mottram 2016-11-19 19:31:59 +00:00
parent f9759acf6e
commit f1b7cc4daf
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ function detect_installed_apps {
do
app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
if [[ $(app_is_installed $app_name) ]]; then
if [[ $(app_is_installed $app_name) == "1" ]]; then
item_in_array "${app_name}" "${APPS_AVAILABLE[@]}"
if [[ $? != 0 ]]; then
variants_list=$(app_variants $filename)