mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Maintaining setup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user