From c3462d1c74bebd4b442d30f2ec4507b9993ae92b Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 20 Nov 2021 14:32:39 +0100 Subject: [PATCH] Silence upgrade warnings --- scripts/install | 2 +- scripts/upgrade | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index f339863..db6b875 100644 --- a/scripts/install +++ b/scripts/install @@ -183,7 +183,7 @@ pushd "$final_path" ynh_use_nodejs yarn install yarn run production - + php$phpversion artisan setup:production --email=$email --password=$password -n --force php$phpversion artisan passport:client --password -n > key.txt mobile_id=$( cd $final_path && tail -2 key.txt | head -1 | cut -c 12- ) diff --git a/scripts/upgrade b/scripts/upgrade index ad3b85a..85b3551 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -221,9 +221,9 @@ update-alternatives --set php /usr/bin/php$phpversion pushd "$final_path" ynh_use_nodejs - yarn install - yarn run production - php$phpversion artisan monica:update --force + ynh_exec_warn_less yarn install + ynh_exec_warn_less yarn run production + ynh_exec_warn_less php$phpversion artisan monica:update --force popd if [ -f $final_path/storage/oauth-private.key ]; then