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:
parent
44961dcfa9
commit
f8e758cb85
2 changed files with 3 additions and 3 deletions
|
@ -110,7 +110,7 @@ find $final_path -type d -exec chmod +s {} \;
|
||||||
ynh_script_progression --message="Installing and configuring LDAP plugin..." --weight=1
|
ynh_script_progression --message="Installing and configuring LDAP plugin..." --weight=1
|
||||||
|
|
||||||
pushd "$final_path"
|
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 mkdir -p user/config/plugins/login-ldap
|
||||||
exec_as $app touch user/accounts/admin.yaml
|
exec_as $app touch user/accounts/admin.yaml
|
||||||
popd
|
popd
|
||||||
|
|
|
@ -176,7 +176,7 @@ find $final_path -type d -exec chmod +s {} \;
|
||||||
ynh_script_progression --message="Updating all plugins..." --time --weight=1
|
ynh_script_progression --message="Updating all plugins..." --time --weight=1
|
||||||
|
|
||||||
pushd "$final_path"
|
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
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -185,7 +185,7 @@ popd
|
||||||
ynh_script_progression --message="Installing and configuring LDAP plugin..." --time --weight=1
|
ynh_script_progression --message="Installing and configuring LDAP plugin..." --time --weight=1
|
||||||
|
|
||||||
pushd "$final_path"
|
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 mkdir -p user/config/plugins/login-ldap
|
||||||
exec_as $app touch user/accounts/admin.yaml
|
exec_as $app touch user/accounts/admin.yaml
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue