Update install-glances.sh

This commit is contained in:
2022-05-29 10:19:56 -05:00
parent e23850d906
commit ae4775159f

View File

@@ -86,13 +86,13 @@ if [[ $distrib_name == "ubuntu" || $distrib_name == "LinuxMint" || $distrib_name
export DEBIAN_FRONTEND=noninteractive
# Make sure the package repository is up to date
do_with_root apt-get -y --force-yes update
do_with_root apt-get -y update
# Install prerequirements
do_with_root apt-get install -y --force-yes python3-pip python3-dev gcc lm-sensors python3-setuptools pkg-config
do_with_root apt-get install -y python3-pip python3-dev gcc lm-sensors python3-setuptools pkg-config
if [[ " ${DEPS[@]} " =~ "wifi" ]]; then
do_with_root apt-get install -y --force-yes wireless-tools
do_with_root apt-get install -y wireless-tools
fi