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:
parent
934db14173
commit
03de594ea4
2 changed files with 2 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue