From 9ffad7b376e13c3527ab2d4032914b4a03ca6805 Mon Sep 17 00:00:00 2001 From: ljf Date: Tue, 21 May 2019 16:46:48 +0200 Subject: [PATCH] [fix] Upgrade don't forget to install pip borg package --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index c190242..56513ec 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -43,7 +43,7 @@ fi # Replace backports with pip if is_stretch; then ynh_remove_backports -else + if [ ! -d /opt/borg-env ]; then virtualenv --python=python3 /opt/borg-env /opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup