From 609ff26caaa4195394d6e27c438ef33cc4536b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 26 Jan 2020 15:50:06 +0100 Subject: [PATCH 1/2] Remove old venv files --- scripts/_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 48d9cfa..6771807 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -28,6 +28,11 @@ setup_dir() { install_source() { if [ -n "$(uname -m | grep arm)" ] then + # Clean old file, sometime it could make some big issues if we don't do this !! + ynh_secure_remove --file=$final_path/bin + ynh_secure_remove --file=$final_path/lib + ynh_secure_remove --file=$final_path/include + ynh_secure_remove --file=$final_path/share ynh_setup_source --dest_dir $final_path/ --source_id "armv7_stretch" else # Install virtualenv if it don't exist From 155b869b9de2469c61e0dfa7b53c233728ca825c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 22 Feb 2020 23:17:32 +0100 Subject: [PATCH 2/2] Fix error import --- scripts/_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 6771807..06dd4f7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -43,6 +43,7 @@ install_source() { cp ../conf/virtualenv_activate $final_path/bin/activate source $final_path/bin/activate pip3 install --upgrade pip + pip3 install --upgrade 'Werkzeug<1.0' pip3 install --upgrade https://ftp.postgresql.org/pub/pgadmin/pgadmin$app_main_version/v$app_sub_version/pip/pgadmin${APP_VERSION}-py2.py3-none-any.whl deactivate fi