From 2fb63a724fd927c98a4e48181e20be4ff653d94d Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Tue, 16 Jul 2024 16:17:07 -0400 Subject: [PATCH] install rpm if amazon linux --- dist/dist-packages/linux/install.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/dist-packages/linux/install.bash b/dist/dist-packages/linux/install.bash index 304b579bf..b232e56ba 100644 --- a/dist/dist-packages/linux/install.bash +++ b/dist/dist-packages/linux/install.bash @@ -139,7 +139,7 @@ main(){ exit 1 fi # Detect the system's distribution family - if [ -f /etc/redhat-release ]; then + if [[ -f /etc/redhat-release || -f /etc/amazon-linux-release ]]; then installRedHat "$@" elif [ -f /etc/debian_version ]; then installDebian "$@"