From 7ae2a32926e4f6a616fba91b79ce72d5839681c1 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Mon, 11 Jan 2021 00:34:05 +0100 Subject: [PATCH] [fix] Avoid to use virtualenv --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 3ae7714..ed7af32 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -11,7 +11,7 @@ pkg_dependencies="python3-pip python3-dev libacl1-dev libssl-dev liblz4-dev pyth # Install borg with pip if borg is not here install_borg_with_pip () { if [ ! -d /opt/borg-env ]; then - virtualenv --python=python3 /opt/borg-env + python3 -m venv /opt/borg-env /opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup==1.1.10 echo "#!/bin/bash /opt/borg-env/bin/python /opt/borg-env/bin/borg \"\$@\"" > /usr/local/bin/borg