From 596475fe4bb2a0ddd717abb91ff54896f11ed58a Mon Sep 17 00:00:00 2001 From: ljf Date: Sat, 24 Aug 2019 18:21:09 +0200 Subject: [PATCH] [fix] Missing dependencies --- scripts/_common.sh | 2 +- scripts/install | 2 +- scripts/remove | 10 ---------- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 99cc90b..0154701 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="gunicorn python-dev python-pip libldap2-dev libpq-dev libsasl2-dev libjpeg-dev libxml2-dev libxslt1-dev libffi-dev python-cairo libpango1.0-0 postgresql postgresql-contrib" +pkg_dependencies="python-virtualenv gunicorn python-dev python-pip libldap2-dev libpq-dev libsasl2-dev libjpeg-dev libxml2-dev libxslt1-dev libffi-dev python-cairo libpango1.0-0 postgresql postgresql-contrib" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index f193c82..365ec3c 100644 --- a/scripts/install +++ b/scripts/install @@ -127,7 +127,7 @@ virtualenv "$final_path/venv" export prefix="${path_url#"/"}/" prefix=${prefix%"/"} -ynh_render_template ../conf/local.py.j2 "$final_path/app/setings_local.py" +ynh_render_template ../conf/local.py.j2 "$final_path/app/settings_local.py" ynh_store_file_checksum --file="$final_path/app/settings_local.py" #================================================= diff --git a/scripts/remove b/scripts/remove index 32f300b..2e99728 100644 --- a/scripts/remove +++ b/scripts/remove @@ -74,19 +74,9 @@ ynh_script_progression --message="Removing nginx web server configuration..." -- # Remove the dedicated nginx config ynh_remove_nginx_config -#================================================= -# REMOVE PHP-FPM CONFIGURATION -#================================================= -ynh_script_progression --message="Removing php-fpm configuration..." --time --weight=1 - -# Remove the dedicated php-fpm config -ynh_remove_fpm_config - #================================================= # SPECIFIC REMOVE #================================================= -# REMOVE THE CRON FILE -#================================================= # Remove the log files ynh_secure_remove --file="/var/log/$app/"