From f8e758cb85c87039e0b433200118c205f632a791 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 6 Jan 2021 18:21:30 +0100 Subject: [PATCH] fix the ci/upgrade script --- scripts/install | 2 +- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index e3f57fc..d9ba789 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index c2bc997..51e3c31 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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