1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

fix php install

This commit is contained in:
ericgaspar 2020-08-14 14:42:08 +02:00
parent 43c38103ae
commit 7eb730cb3a
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -79,12 +79,15 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION
#================================================= #=================================================
# REINSTALL DEPENDENCIES # RESTORE THE PHP-FPM CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=6 ynh_script_progression --message="Reconfiguring PHP-FPM..." --weight=50
# Define and install dependencies # Restore the file first, so it can have a backup if different
ynh_install_extra_app_dependencies --package="php${YNH_PHP_VERSION}-cli" ynh_restore_file --origin_path="/etc/php/$YNH_PHP_VERSION/fpm/pool.d/$app.conf"
# Recreate a dedicated PHP-FPM config
ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --package="$extra_php_dependencies"
#================================================= #=================================================
# RESTORE THE MYSQL DATABASE # RESTORE THE MYSQL DATABASE