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