1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

Trying to fix the upgrade

This commit is contained in:
Kay0u 2022-03-04 12:05:07 +01:00
parent 934db14173
commit 03de594ea4
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156
2 changed files with 2 additions and 5 deletions

View file

@ -126,8 +126,6 @@ chown -R "$app": "$final_path"
cd "${final_path}" cd "${final_path}"
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel 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? # 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 Weblate=="$weblate_version"
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply

View file

@ -169,9 +169,8 @@ upgrade() {
set -o nounset set -o nounset
cd "${final_path}" cd "${final_path}"
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel sudo --user=$app $final_path/venv/bin/pip install --upgrade pip
# Tmp fix
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14
# Still needed with latest version of weblate? # 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 --upgrade Weblate=="$new_version"
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply