1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

Silence upgrade warnings

This commit is contained in:
tituspijean 2021-11-20 14:32:39 +01:00
parent c58d88313c
commit c3462d1c74
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 4 additions and 4 deletions

View file

@ -183,7 +183,7 @@ pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
yarn install yarn install
yarn run production yarn run production
php$phpversion artisan setup:production --email=$email --password=$password -n --force php$phpversion artisan setup:production --email=$email --password=$password -n --force
php$phpversion artisan passport:client --password -n > key.txt php$phpversion artisan passport:client --password -n > key.txt
mobile_id=$( cd $final_path && tail -2 key.txt | head -1 | cut -c 12- ) mobile_id=$( cd $final_path && tail -2 key.txt | head -1 | cut -c 12- )

View file

@ -221,9 +221,9 @@ update-alternatives --set php /usr/bin/php$phpversion
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
yarn install ynh_exec_warn_less yarn install
yarn run production ynh_exec_warn_less yarn run production
php$phpversion artisan monica:update --force ynh_exec_warn_less php$phpversion artisan monica:update --force
popd popd
if [ -f $final_path/storage/oauth-private.key ]; then if [ -f $final_path/storage/oauth-private.key ]; then