浏览代码

Detect installed apps

Bob Mottram 8 年前
父节点
当前提交
f1b7cc4daf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-utils-selector

+ 1
- 1
src/freedombone-utils-selector 查看文件

@@ -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)