diff --git a/scripts/install.sh b/scripts/install.sh index d63a5ea5..5aa08014 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -12,7 +12,9 @@ FW_BACKEND="nftables" API_KEY="" check_pkg_manager(){ - if [ -f /etc/redhat-release ] ; then + if [ -f /etc/redhat-release ]; then + PKG="yum" + elif cat /etc/system-release | grep -q "Amazon Linux release 2 (Karoo)"; then PKG="yum" elif [ -f /etc/debian_version ]; then PKG="apt"