From ce4a591cc126346eb11afd127001109de12cf9f2 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 8 Mar 2018 18:33:25 +0100 Subject: [PATCH] Fix stretch --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 057a26d..4d865d4 100644 --- a/scripts/install +++ b/scripts/install @@ -62,7 +62,7 @@ ynh_app_setting_set "$app" is_public "$is_public" # INSTALL DEPENDENCIES #================================================= -ynh_install_app_dependencies php5-gd +ynh_install_app_dependencies php5-gd php5-zip #================================================= # CREATE A MYSQL DATABASE diff --git a/scripts/restore b/scripts/restore index f7be894..12bde32 100644 --- a/scripts/restore +++ b/scripts/restore @@ -55,7 +55,7 @@ test ! -d $final_path \ #================================================= # Define and install dependencies -ynh_install_app_dependencies php5-gd +ynh_install_app_dependencies php5-gd php5-zip #================================================= # RESTORE THE NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 33ced7a..786de4a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -116,6 +116,12 @@ ynh_system_user_create "$app" # Create a dedicated php-fpm config ynh_add_fpm_config +#================================================= +# INSTALL DEPENDENCIES +#================================================= + +ynh_install_app_dependencies php5-gd php5-zip + #================================================= # SPECIFIC UPGRADE #=================================================