mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
fix PHP version
This commit is contained in:
parent
39f89481f7
commit
fc22737e17
2 changed files with 14 additions and 0 deletions
|
@ -102,6 +102,13 @@ ynh_store_file_checksum --file="$install_dir/.env"
|
|||
chmod 400 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
|
||||
#==================================================
|
||||
# FIX PHP VERSION
|
||||
#==================================================
|
||||
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"
|
||||
|
||||
#=================================================
|
||||
# INSTALL THE CRON FILE
|
||||
#=================================================
|
||||
|
|
|
@ -114,6 +114,13 @@ ynh_store_file_checksum --file="$install_dir/.env"
|
|||
chmod 400 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
|
||||
#==================================================
|
||||
# FIX PHP VERSION
|
||||
#==================================================
|
||||
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"
|
||||
|
||||
#=================================================
|
||||
# INSTALL THE CRON FILE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue