From 2529b922bd6ea20123f4dae6caf761dee9066377 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Mon, 15 Nov 2021 14:32:30 +0100 Subject: [PATCH] fix install --- scripts/_common.sh | 2 +- scripts/install | 2 ++ scripts/upgrade | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 9c180fd..4421e61 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="libffi-dev libxml2-dev libxslt-dev libfreetype6-dev libjpeg-dev libz-dev libyaml-dev \ +pkg_dependencies="libxml2-dev libxslt-dev libfreetype6-dev libjpeg-dev libz-dev libyaml-dev \ libcairo-dev gir1.2-pango-1.0 libgirepository1.0-dev libacl1-dev libssl-dev \ build-essential python3-gdbm python3-enchant python3-dev python3-pip python3-virtualenv virtualenv git \ uwsgi uwsgi-plugin-python3 redis-server postgresql postgresql-contrib \ diff --git a/scripts/install b/scripts/install index 61d19c1..5de2393 100755 --- a/scripts/install +++ b/scripts/install @@ -126,6 +126,8 @@ chown -R "$app": "$final_path" cd "${final_path}" sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel + # Tmp fix + sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14 # Still needed with latest version of weblate? sudo --user=$app $final_path/venv/bin/pip install Weblate=="$weblate_version" sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply diff --git a/scripts/upgrade b/scripts/upgrade index 91b1115..05b2f3b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -170,6 +170,8 @@ upgrade() { cd "${final_path}" sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel + # Tmp fix + sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14 # Still needed with latest version of weblate? sudo --user=$app $final_path/venv/bin/pip install --upgrade Weblate=="$new_version" sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply