Selaa lähdekoodia

Detect installed apps

Bob Mottram 8 vuotta sitten
vanhempi
commit
f1b7cc4daf
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/freedombone-utils-selector

+ 1
- 1
src/freedombone-utils-selector Näytä tiedosto

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