From 4735696ef17464b54400aaff2cf7d9635604688c Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Thu, 29 Oct 2020 15:00:35 +0100 Subject: [PATCH] Fix install --- install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install b/install index 474668f..d696f5f 100755 --- a/install +++ b/install @@ -476,10 +476,9 @@ wo_install() { rm -rf /usr/local/bin/wo /usr/local/lib/python3."$python_venv"/dist-packages/{etc,usr} ln -s /opt/wo/bin/wo /usr/local/bin/ deactivate - if ! { /usr/local/bin/wo >/dev/null 2>&1; }; then + if [ ! -d /opt/wo/lib/python3."$python_ver"/site-packages/apt ];then python3 -m venv --system-site-packages /opt/wo fi - } # Clone Github repository if it doesn't exist