fix core_install
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Moritz 2023-08-24 11:33:24 +02:00
parent 91335eac3a
commit 16ca5734d7
1 changed files with 2 additions and 2 deletions

View File

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