From fb343532e76c276efbd68e1de205d8c419680b82 Mon Sep 17 00:00:00 2001 From: Kayou Date: Sun, 3 Feb 2019 21:39:45 +0100 Subject: [PATCH] reinstall dependencies before the app --- scripts/restore | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/restore b/scripts/restore index 17bb378..66f2aab 100644 --- a/scripts/restore +++ b/scripts/restore @@ -42,6 +42,13 @@ test ! -d $final_path \ #================================================= # STANDARD RESTORATION STEPS +#================================================= +# REINSTALL DEPENDENCIES +#================================================= + +# Define and install dependencies +ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql + #================================================= # RESTORE THE NGINX CONFIGURATION #================================================= @@ -64,13 +71,6 @@ ynh_psql_connect_as $db_name $db_pwd $db_name < ./db.sql #================================================= # SPECIFIC RESTORATION -#================================================= -# REINSTALL DEPENDENCIES -#================================================= - -# Define and install dependencies -ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql - #================================================= # RESTORE SYSTEMD #=================================================