From 16ca5734d71775839f3b71214579c834981769f1 Mon Sep 17 00:00:00 2001 From: Moritz Date: Thu, 24 Aug 2023 11:33:24 +0200 Subject: [PATCH] fix core_install --- abra.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abra.sh b/abra.sh index 9f514a7..4a1a695 100644 --- a/abra.sh +++ b/abra.sh @@ -13,7 +13,7 @@ core_install(){ then ADMIN=akadmin fi - chown www-data:www-data /var/www/html/wp-content + chown www-data:www-data -R /var/www/html/wp-content wp "core install --url=$DOMAIN --title=\"$TITLE\" --admin_user=$ADMIN --admin_email=$ADMIN_EMAIL --locale=$LOCALE --skip-email" wp "language core install $LOCALE" wp "site switch-language $LOCALE" @@ -26,7 +26,7 @@ core_install(){ else wp "option set default_role subscriber" fi - wp 'plugin auto-updates enable --all' + wp 'plugin auto-updates enable --all' || exit 0 } set_authentik(){