1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00
This commit is contained in:
Thomas 2024-05-03 22:53:41 +02:00 committed by GitHub
parent 08ad9dde5f
commit 24f7f13c88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,9 +81,9 @@ ynh_add_config --template=".env" --destination="$install_dir/.env"
chmod 600 $install_dir/.env chmod 600 $install_dir/.env
chown $app:$app $install_dir/.env chown $app:$app $install_dir/.env
#========= #==================================================
# FIX PHP VERSION # FIX PHP VERSION
#========== #==================================================
ynh_script_progression --message="Fixing php version in package.json..." --weight=1 ynh_script_progression --message="Fixing php version in package.json..." --weight=1
ynh_replace_string --target_file="$install_dir/package.json" --match_string="php artisan lang:generate -vvv" --replace_string="php$phpversion artisan lang:generate -vvv" ynh_replace_string --target_file="$install_dir/package.json" --match_string="php artisan lang:generate -vvv" --replace_string="php$phpversion artisan lang:generate -vvv"