From 86134f20ae3066b4a21c223bac0b690e64f5df42 Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Wed, 2 Sep 2020 11:28:14 -0400 Subject: [PATCH] Update install.sh Just making the code a tiny bit more consistent --- install.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 4285fab..b98eb57 100644 --- a/install.sh +++ b/install.sh @@ -355,7 +355,7 @@ repositories_setup(){ dpkg --remove-architecture i386 echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4 apt-get -y update - curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash + curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash if [ "$lsb_dist" = "ubuntu" ]; then LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php add-apt-repository -y ppa:chris-lea/redis-server @@ -363,9 +363,8 @@ repositories_setup(){ add-apt-repository -y ppa:certbot/certbot add-apt-repository -y ppa:nginx/development fi - apt -y install tuned - apt-get install dnsutils -y - tuned-adm profile latency-performance + apt -y install tuned dnsutils + tuned-adm profile latency-performance elif [ "$lsb_dist" = "debian" ]; then apt-get -y install ca-certificates apt-transport-https echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list @@ -387,7 +386,7 @@ repositories_setup(){ apt-get -y upgrade apt-get -y autoremove apt-get -y autoclean - apt-get -y install dnsutils curl + apt-get -y install curl elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ]; then if [ "$lsb_dist" = "fedora" ] ; then if [ "$dist_version" = "32" ]; then