Update install-glances.sh
This commit is contained in:
1 parent
e23850d906
commit
ae4775159f
1 file changed
+3
-3
+3
-3
@@ -86,13 +86,13 @@ if [[ $distrib_name == "ubuntu" || $distrib_name == "LinuxMint" || $distrib_name
|
|||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# Make sure the package repository is up to date
|
# 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
|
# 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
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user