From 095826c7da62b658808fa6b0938de2a5bf326892 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 2 Sep 2021 22:45:49 +0200 Subject: [PATCH] Also upgrade setuptools before installing borg --- scripts/_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 6e6b58d..c77a961 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -17,6 +17,7 @@ install_borg_with_pip () { if [ ! -d /opt/borg-env ]; then python3 -m venv /opt/borg-env /opt/borg-env/bin/python /opt/borg-env/bin/pip install pip -U + /opt/borg-env/bin/python /opt/borg-env/bin/pip install setuptools -U /opt/borg-env/bin/python /opt/borg-env/bin/pip install wheel ynh_print_info --message="Installing/compiling borg, this may take some time..." /opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup[fuse]==$BORG_VERSION