|
@@ -318,7 +318,7 @@ function detect_apps {
|
318
|
318
|
for filename in $FILES
|
319
|
319
|
do
|
320
|
320
|
app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
|
321
|
|
- if [[ $(enough_ram_for_app "$app_name") != "0" ]]; then
|
|
321
|
+ if [[ $(enough_ram_for_app "$app_name") == "0" ]]; then
|
322
|
322
|
if [[ $(app_not_on_onion_only "$app_name") != "0" ]]; then
|
323
|
323
|
# shellcheck disable=SC2068
|
324
|
324
|
if ! item_in_array "${app_name}" ${APPS_AVAILABLE[@]}; then
|
|
@@ -354,7 +354,7 @@ function detect_installable_apps {
|
354
|
354
|
do
|
355
|
355
|
app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
|
356
|
356
|
|
357
|
|
- if [[ $(enough_ram_for_app "$app_name") != "0" ]]; then
|
|
357
|
+ if [[ $(enough_ram_for_app "$app_name") == "0" ]]; then
|
358
|
358
|
if [[ $(app_not_on_onion_only "$app_name") != "0" ]]; then
|
359
|
359
|
# shellcheck disable=SC2068
|
360
|
360
|
if ! item_in_array "${app_name}" ${APPS_AVAILABLE[@]}; then
|
|
@@ -390,7 +390,7 @@ function detect_installed_apps {
|
390
|
390
|
do
|
391
|
391
|
app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
|
392
|
392
|
|
393
|
|
- if [[ $(enough_ram_for_app "$app_name") != "0" ]]; then
|
|
393
|
+ if [[ $(enough_ram_for_app "$app_name") == "0" ]]; then
|
394
|
394
|
if [[ $(app_not_on_onion_only "$app_name") != "0" ]]; then
|
395
|
395
|
if [[ $(app_is_installed "$app_name") == "1" ]]; then
|
396
|
396
|
# shellcheck disable=SC2068
|
|
@@ -429,7 +429,7 @@ function choose_apps_for_variant {
|
429
|
429
|
for filename in $FILES
|
430
|
430
|
do
|
431
|
431
|
app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
|
432
|
|
- if [[ $(enough_ram_for_app "$app_name") != "0" ]]; then
|
|
432
|
+ if [[ $(enough_ram_for_app "$app_name") == "0" ]]; then
|
433
|
433
|
if [[ $(app_not_on_onion_only "$app_name") != "0" ]]; then
|
434
|
434
|
# shellcheck disable=SC2068
|
435
|
435
|
if item_in_array "${app_name}" ${APPS_AVAILABLE[@]}; then
|