From c6e1d2eff39cc6a3e8b6b6a0d1afb9446afa8359 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 23 Sep 2019 17:59:12 +0200 Subject: [PATCH] [fix] Reinstall dependencies while restoring Closes #127 --- scripts/restore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/restore b/scripts/restore index de3f693..9a69ebe 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,6 +77,14 @@ ynh_restore_file --origin_path="/etc/php/${php_version}/fpm/pool.d/$app.conf" #================================================= # SPECIFIC RESTORATION +#================================================= +# REINSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Reinstalling dependencies..." --time --weight=1 + +# Define and install dependencies +ynh_install_php --phpversion=${php_version} --package="$pkg_dependencies" + #================================================= # RESTORE THE MYSQL DATABASE #=================================================