From 799d60c4bc279005bb09570193042c07eb5e1609 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 30 Apr 2018 19:35:47 -0500 Subject: [PATCH] Update glances-install.sh --- glances-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/glances-install.sh b/glances-install.sh index ccce85b..432e98a 100644 --- a/glances-install.sh +++ b/glances-install.sh @@ -83,7 +83,7 @@ if [[ $distrib_name == "ubuntu" || $distrib_name == "LinuxMint" || $distrib_name do_with_root apt-get -y --force-yes update # Install prerequirements - do_with_root apt-get install -y --force-yes python-pip python-dev gcc lm-sensors + do_with_root apt-get install -y --force-yes python-pip python-dev gcc lm-sensors python-setuptools if [[ " ${DEPS[@]} " =~ "wifi" ]]; then do_with_root apt-get install -y --force-yes wireless-tools @@ -94,7 +94,7 @@ elif [[ $distrib_name == "redhat" || $distrib_name == "centos" || $distrib_name # Redhat/CentOS/SL # Install prerequirements - do_with_root yum -y install python-pip python-devel gcc lm_sensors + do_with_root yum -y install python-pip python-devel gcc lm_sensors python-setuptools if [[ " ${DEPS[@]} " =~ "wifi" ]]; then do_with_root yum -y install wireless-tools @@ -104,7 +104,7 @@ elif [[ $distrib_name == "centminmod" ]]; then # /CentOS min based # Install prerequirements - do_with_root yum -y install python-devel gcc lm_sensors + do_with_root yum -y install python-devel gcc lm_sensors python-setuptools do_with_root wget -O- https://bootstrap.pypa.io/get-pip.py | python && $(which pip) install -U pip && ln -s $(which pip) /usr/bin/pip if [[ " ${DEPS[@]} " =~ "wifi" ]]; then @@ -115,7 +115,7 @@ elif [[ $distrib_name == "fedora" ]]; then # Fedora # Install prerequirements - do_with_root dnf -y install python-pip python-devel gcc lm_sensors + do_with_root dnf -y install python-pip python-devel gcc lm_sensors python-setuptools if [[ " ${DEPS[@]} " =~ "wifi" ]]; then do_with_root dnf -y install wireless-tools @@ -125,7 +125,7 @@ elif [[ $distrib_name == "arch" ]]; then # Arch support # Headers not needed for Arch, shipped with regular python packages - do_with_root pacman -S python-pip lm_sensors --noconfirm + do_with_root pacman -S python-pip lm_sensors python-setuptools --noconfirm if [[ " ${DEPS[@]} " =~ "wifi" ]]; then do_with_root pacman -S wireless_tools --noconfirm