fix core_install
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
91335eac3a
commit
16ca5734d7
4
abra.sh
4
abra.sh
|
@ -13,7 +13,7 @@ core_install(){
|
||||||
then
|
then
|
||||||
ADMIN=akadmin
|
ADMIN=akadmin
|
||||||
fi
|
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 "core install --url=$DOMAIN --title=\"$TITLE\" --admin_user=$ADMIN --admin_email=$ADMIN_EMAIL --locale=$LOCALE --skip-email"
|
||||||
wp "language core install $LOCALE"
|
wp "language core install $LOCALE"
|
||||||
wp "site switch-language $LOCALE"
|
wp "site switch-language $LOCALE"
|
||||||
|
@ -26,7 +26,7 @@ core_install(){
|
||||||
else
|
else
|
||||||
wp "option set default_role subscriber"
|
wp "option set default_role subscriber"
|
||||||
fi
|
fi
|
||||||
wp 'plugin auto-updates enable --all'
|
wp 'plugin auto-updates enable --all' || exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
set_authentik(){
|
set_authentik(){
|
||||||
|
|
Loading…
Reference in New Issue