mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-06 07:50:13 +01:00
Update wgd.sh
This commit is contained in:
parent
aa1d0aabd2
commit
798a3632cf
@ -100,8 +100,6 @@ _installPython(){
|
||||
|
||||
_installPythonVenv(){
|
||||
if [ "$pythonExecutable" = "python3" ]; then
|
||||
if ! $pythonExecutable -m venv -h > /dev/null 2>&1
|
||||
then
|
||||
case "$OS" in
|
||||
ubuntu|debian)
|
||||
{ sudo apt update ; sudo apt-get install -y python3-venv; printf "\n\n"; } &>> ./log/install.txt
|
||||
@ -119,7 +117,6 @@ _installPythonVenv(){
|
||||
kill -s TERM $TOP_PID
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
{ sudo apt-get update; sudo apt-get install ${pythonExecutable}-venv; } &>> ./log/install.txt
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user