From fc5e2d036cca71ea23e32c1c0b606c9f2aa0ee6f Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Wed, 1 Jul 2020 21:48:12 +0000 Subject: [PATCH] Update install.sh --- scripts/install.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index b7c4f5a..4acb8b3 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -93,6 +93,9 @@ pushd . cd /opt/mistborn git submodule update --init --recursive +# get os and distro +source ./scripts/subinstallers/platform.sh + # initial load update package list if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then sudo apt-get update @@ -107,10 +110,6 @@ elif ["$DISTRO" == "archlinux"]; then sudo pacman -S --noconfirm figlet fi -# get os and distro -source ./scripts/subinstallers/platform.sh - - # iptables echo "Setting up firewall (iptables)" if [ ! -f "/etc/iptables/rules.v4" ]; then @@ -139,7 +138,6 @@ elif ["$DISTRO" == "archlinux"]; then sudo pacman -S --noconfirm bind-tools fail2ban fi - # Install kernel headers if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ]; then sudo apt install -y linux-headers-$(uname -r)