Maintaining setup

This commit is contained in:
leiweibau
2022-08-03 19:54:26 +02:00
parent dffca5e619
commit ea621d4db3
3 changed files with 5 additions and 789 deletions

View File

@@ -387,7 +387,7 @@ install_python() {
print_msg "- Using Python 2"
else
print_msg "- Installing Python 2..."
sudo apt-get install python -y 2>&1 >> "$LOG"
sudo apt-get install python pip -y 2>&1 >> "$LOG"
fi
PYTHON_BIN="python"
elif [ $USE_PYTHON_VERSION -eq 3 ] ; then
@@ -395,7 +395,8 @@ install_python() {
print_msg "- Using Python 3"
else
print_msg "- Installing Python 3..."
sudo apt-get install python3 -y 2>&1 >> "$LOG"
sudo apt-get install python3 pip -y 2>&1 >> "$LOG"
python3 -m pip install requests
fi
PYTHON_BIN="python3"
else