From ccfbd0fe9fe09392e6b274d5f6f5719a4637c163 Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Wed, 1 Jul 2020 21:52:06 +0000 Subject: [PATCH] Update install.sh --- scripts/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 4acb8b3..065f476 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -99,14 +99,14 @@ source ./scripts/subinstallers/platform.sh # initial load update package list if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then sudo apt-get update -elif ["$DISTRO" == "archlinux"]; then +elif ["$DISTRO" == "arch"]; then sudo pacman -Syyy fi # install figlet if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then sudo apt-get install -y figlet -elif ["$DISTRO" == "archlinux"]; then +elif ["$DISTRO" == "arch"]; then sudo pacman -S --noconfirm figlet fi @@ -134,7 +134,7 @@ sudo systemctl restart ssh # Additional tools fail2ban if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then sudo apt-get install -y dnsutils fail2ban -elif ["$DISTRO" == "archlinux"]; then +elif ["$DISTRO" == "arch"]; then sudo pacman -S --noconfirm bind-tools fail2ban fi @@ -143,7 +143,7 @@ if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ]; then sudo apt install -y linux-headers-$(uname -r) elif [ "$DISTRO" == "raspbian" ]; then sudo apt-get install -y raspberrypi-kernel-headers -elif ["$DISTRO" == "archlinux"]; then +elif ["$DISTRO" == "arch"]; then sudo pacman -S --noconfirm linux-lts-headers fi