瀏覽代碼

Apps not chosen

Bob Mottram 8 年之前
父節點
當前提交
017fd581a0
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-addremove

+ 1
- 1
src/freedombone-addremove 查看文件

70
     app_index=0
70
     app_index=0
71
     for app_name in "${APPS_AVAILABLE[@]}"
71
     for app_name in "${APPS_AVAILABLE[@]}"
72
     do
72
     do
73
-        if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
73
+        if [[ ${APPS_CHOSEN[$app_index]} == "0" ]]; then
74
             echo "_${app_name}_" >> $REMOVED_APPS_FILE
74
             echo "_${app_name}_" >> $REMOVED_APPS_FILE
75
         fi
75
         fi
76
         app_index=$[app_index+1]
76
         app_index=$[app_index+1]