@@ -397,16 +397,14 @@ else
397397fi
398398
399399# AIO app
400- if [ " $( php /var/www/html/occ config:app:get nextcloud-aio enabled) " = " " ]; then
401- php /var/www/html/occ app:enable nextcloud-aio
402- elif [ " $( php /var/www/html/occ config:app:get nextcloud-aio enabled) " = " no" ]; then
400+ if [ " $( php /var/www/html/occ config:app:get nextcloud-aio enabled) " != " yes" ]; then
403401 php /var/www/html/occ app:enable nextcloud-aio
404402fi
405403
406404# Notify push
407405if ! [ -d " /var/www/html/custom_apps/notify_push" ]; then
408406 php /var/www/html/occ app:install notify_push
409- elif [ " $( php /var/www/html/occ config:app:get notify_push enabled) " = " no " ]; then
407+ elif [ " $( php /var/www/html/occ config:app:get notify_push enabled) " ! = " yes " ]; then
410408 php /var/www/html/occ app:enable notify_push
411409elif [ " $SKIP_UPDATE " != 1 ]; then
412410 php /var/www/html/occ app:update notify_push
@@ -419,7 +417,7 @@ php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://
419417if [ " $COLLABORA_ENABLED " = ' yes' ]; then
420418 if ! [ -d " /var/www/html/custom_apps/richdocuments" ]; then
421419 php /var/www/html/occ app:install richdocuments
422- elif [ " $( php /var/www/html/occ config:app:get richdocuments enabled) " = " no " ]; then
420+ elif [ " $( php /var/www/html/occ config:app:get richdocuments enabled) " ! = " yes " ]; then
423421 php /var/www/html/occ app:enable richdocuments
424422 elif [ " $SKIP_UPDATE " != 1 ]; then
425423 php /var/www/html/occ app:update richdocuments
@@ -479,7 +477,7 @@ if [ "$ONLYOFFICE_ENABLED" = 'yes' ]; then
479477 done
480478 if ! [ -d " /var/www/html/custom_apps/onlyoffice" ]; then
481479 php /var/www/html/occ app:install onlyoffice
482- elif [ " $( php /var/www/html/occ config:app:get onlyoffice enabled) " = " no " ]; then
480+ elif [ " $( php /var/www/html/occ config:app:get onlyoffice enabled) " ! = " yes " ]; then
483481 php /var/www/html/occ app:enable onlyoffice
484482 elif [ " $SKIP_UPDATE " != 1 ]; then
485483 php /var/www/html/occ app:update onlyoffice
498496if [ " $TALK_ENABLED " = ' yes' ]; then
499497 if ! [ -d " /var/www/html/custom_apps/spreed" ]; then
500498 php /var/www/html/occ app:install spreed
501- elif [ " $( php /var/www/html/occ config:app:get spreed enabled) " = " no " ]; then
499+ elif [ " $( php /var/www/html/occ config:app:get spreed enabled) " ! = " yes " ]; then
502500 php /var/www/html/occ app:enable spreed
503501 elif [ " $SKIP_UPDATE " != 1 ]; then
504502 php /var/www/html/occ app:update spreed
@@ -528,7 +526,7 @@ if [ "$CLAMAV_ENABLED" = 'yes' ]; then
528526 done
529527 if ! [ -d " /var/www/html/custom_apps/files_antivirus" ]; then
530528 php /var/www/html/occ app:install files_antivirus
531- elif [ " $( php /var/www/html/occ config:app:get files_antivirus enabled) " = " no " ]; then
529+ elif [ " $( php /var/www/html/occ config:app:get files_antivirus enabled) " ! = " yes " ]; then
532530 php /var/www/html/occ app:enable files_antivirus
533531 elif [ " $SKIP_UPDATE " != 1 ]; then
534532 php /var/www/html/occ app:update files_antivirus
@@ -564,21 +562,21 @@ if [ "$FULLTEXTSEARCH_ENABLED" = 'yes' ]; then
564562 done
565563 if ! [ -d " /var/www/html/custom_apps/fulltextsearch" ]; then
566564 php /var/www/html/occ app:install fulltextsearch
567- elif [ " $( php /var/www/html/occ config:app:get fulltextsearch enabled) " = " no " ]; then
565+ elif [ " $( php /var/www/html/occ config:app:get fulltextsearch enabled) " ! = " yes " ]; then
568566 php /var/www/html/occ app:enable fulltextsearch
569567 elif [ " $SKIP_UPDATE " != 1 ]; then
570568 php /var/www/html/occ app:update fulltextsearch
571569 fi
572570 if ! [ -d " /var/www/html/custom_apps/fulltextsearch_elasticsearch" ]; then
573571 php /var/www/html/occ app:install fulltextsearch_elasticsearch
574- elif [ " $( php /var/www/html/occ config:app:get fulltextsearch_elasticsearch enabled) " = " no " ]; then
572+ elif [ " $( php /var/www/html/occ config:app:get fulltextsearch_elasticsearch enabled) " ! = " yes " ]; then
575573 php /var/www/html/occ app:enable fulltextsearch_elasticsearch
576574 elif [ " $SKIP_UPDATE " != 1 ]; then
577575 php /var/www/html/occ app:update fulltextsearch_elasticsearch
578576 fi
579577 if ! [ -d " /var/www/html/custom_apps/files_fulltextsearch" ]; then
580578 php /var/www/html/occ app:install files_fulltextsearch
581- elif [ " $( php /var/www/html/occ config:app:get files_fulltextsearch enabled) " = " no " ]; then
579+ elif [ " $( php /var/www/html/occ config:app:get files_fulltextsearch enabled) " ! = " yes " ]; then
582580 php /var/www/html/occ app:enable files_fulltextsearch
583581 elif [ " $SKIP_UPDATE " != 1 ]; then
584582 php /var/www/html/occ app:update files_fulltextsearch
0 commit comments