Fix install
This commit is contained in:
3
install
3
install
@@ -476,10 +476,9 @@ wo_install() {
|
|||||||
rm -rf /usr/local/bin/wo /usr/local/lib/python3."$python_venv"/dist-packages/{etc,usr}
|
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/
|
ln -s /opt/wo/bin/wo /usr/local/bin/
|
||||||
deactivate
|
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
|
python3 -m venv --system-site-packages /opt/wo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Clone Github repository if it doesn't exist
|
# Clone Github repository if it doesn't exist
|
||||||
|
|||||||
Reference in New Issue
Block a user