Update install-glances.sh

This commit is contained in:
2020-04-19 11:56:01 -05:00
parent 36e05c0f00
commit 18b725c36d

View File

@@ -156,15 +156,15 @@ echo ""
if [[ -x /usr/local/bin/glances || -x /usr/bin/glances ]]; then
echo -e "${Green}Upgrade Glances and dependancies${Color_Off}"
# Upgrade libs
do_with_root pip install --upgrade $DEPS2
do_with_root pip install --upgrade glances
do_with_root pip3 install --upgrade $DEPS2
do_with_root pip3 install --upgrade glances
else
echo -e "${Green}Installing dependancies...${Color_Off}"
do_with_root pip install $DEPS2
do_with_root pip3 install $DEPS2
echo ""
echo -e "${Green}Installing Glances...${Color_Off}"
# Install Glances
do_with_root pip install glances
do_with_root pip3 install glances
fi
exit 0