Update glances-install.sh

This commit is contained in:
2018-03-19 23:25:16 -05:00
parent 7b110e9a30
commit be4cb2d785

View File

@@ -15,7 +15,7 @@ DEPS=$(whiptail --title "iDS-Glances Auto Install Script" --checklist --separate
"\nPlease select which modules to install for Glances to be able\nto utilize for this system:" 28 80 16 \
"action" "Allows Glances to trigger actions on events" ON \
"batinfo" "Displays Battery Stats" OFF \
"browser" "Allows Glances to run as a webserver" ON \
"browser" "Allows for other Glances client browsing" OFF \
"chart" "Charts Module" ON \
"cloud" "Displays Cloud Stats" OFF \
"cpuinfo" "Display CPU Stats" ON \
@@ -26,7 +26,7 @@ DEPS=$(whiptail --title "iDS-Glances Auto Install Script" --checklist --separate
"ip" "Displays Public and Private Addresses" ON \
"raid" "Displays RAID Stats" OFF \
"snmp" "Could retrieve stats from an snmp endpoint" OFF \
"web" "web" ON \
"web" "Allows Glances to run as a webserver" OFF \
"wifi" "Displays WiFi Stats" OFF 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 1 ]; then exit; fi
@@ -141,9 +141,6 @@ shopt -u nocasematch
do_with_root pip install --upgrade pip
DEPS2="setuptools glances[$(join_by , $DEPS)]"
echo -e "${BOrange}DEPS 2B: $DEPS2${Color_Off}"
# Install or ugrade Glances from the Pipy repository
if [[ -x /usr/local/bin/glances || -x /usr/bin/glances ]]; then
echo -e "${Green}Upgrade Glances and dependancies${Color_Off}"