1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borg_ynh.git synced 2024-09-03 18:16:05 +02:00

[fix] Upgrade don't forget to install pip borg package

This commit is contained in:
ljf 2019-05-21 16:46:48 +02:00
parent 56c1cb17b0
commit 9ffad7b376

View file

@ -43,7 +43,7 @@ fi
# Replace backports with pip # Replace backports with pip
if is_stretch; then if is_stretch; then
ynh_remove_backports ynh_remove_backports
else
if [ ! -d /opt/borg-env ]; then if [ ! -d /opt/borg-env ]; then
virtualenv --python=python3 /opt/borg-env virtualenv --python=python3 /opt/borg-env
/opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup /opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup