1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

fix the ci/upgrade script

This commit is contained in:
Kay0u 2021-01-06 18:21:30 +01:00 committed by tituspijean
parent 44961dcfa9
commit f8e758cb85
2 changed files with 3 additions and 3 deletions

View file

@ -110,7 +110,7 @@ find $final_path -type d -exec chmod +s {} \;
ynh_script_progression --message="Installing and configuring LDAP plugin..." --weight=1
pushd "$final_path"
exec_as $app php${YNH_PHP_VERSION} bin/gpm install login-ldap -y
exec_as $app php${YNH_PHP_VERSION} bin/gpm install login-ldap --all-yes --no-interaction
exec_as $app mkdir -p user/config/plugins/login-ldap
exec_as $app touch user/accounts/admin.yaml
popd

View file

@ -176,7 +176,7 @@ find $final_path -type d -exec chmod +s {} \;
ynh_script_progression --message="Updating all plugins..." --time --weight=1
pushd "$final_path"
exec_as $app php${YNH_PHP_VERSION} bin/gpm update -y
exec_as $app php${YNH_PHP_VERSION} bin/gpm update --all-yes --no-interaction
popd
#=================================================
@ -185,7 +185,7 @@ popd
ynh_script_progression --message="Installing and configuring LDAP plugin..." --time --weight=1
pushd "$final_path"
exec_as $app php${YNH_PHP_VERSION} bin/gpm install login-ldap -y
exec_as $app php${YNH_PHP_VERSION} bin/gpm install login-ldap --all-yes --no-interaction
exec_as $app mkdir -p user/config/plugins/login-ldap
exec_as $app touch user/accounts/admin.yaml
popd