From a0af9eec9bd8acfdafaff898485c5748d6c39a4f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Tue, 22 May 2018 23:03:39 +0200 Subject: [PATCH] Last fixes for upgrade and restore --- scripts/restore | 2 +- scripts/upgrade | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 442b572..bbef000 100755 --- a/scripts/restore +++ b/scripts/restore @@ -66,7 +66,7 @@ ynh_restore_file "$final_path" # INSTALL DEPENDENCIES #================================================= -ynh_install_app_dependencies libxslt-dev virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python +ynh_install_app_dependencies git build-essential libxslt-dev python-dev python-virtualenv virtualenv zlib1g-dev libffi-dev libssl-dev uwsgi uwsgi-plugin-python #================================================= # RECREATE OF THE DEDICATED USER diff --git a/scripts/upgrade b/scripts/upgrade index 701caac..ba72cc8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -102,7 +102,6 @@ ynh_system_user_create $app # UPGRADE SEARX IN ITS VIRTUALENV #================================================= -rm -r $final_path/lib/python2.7/site-packages/{pip,setuptools} $final_path/lib/python2.7/site-packages/setuptools-* $final_path/lib/python2.7/site-packages/pip-* virtualenv "$final_path" #run source in a 'sub shell'