From 90eae0b35cd48644aae71b3f124d326c3e94b21b Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Mon, 16 Dec 2024 22:24:28 +0800 Subject: [PATCH] fix: rhel and rocky for install.sh Signed-off-by: yihong0618 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 948616f..6e12841 100755 --- a/install.sh +++ b/install.sh @@ -10,8 +10,8 @@ elif [ -f /etc/arch-release ]; then # check if alpine elif [ -f /etc/alpine-release ]; then sudo apk add pkgconfig gcc libseccomp-dev -# check if centos -elif [ -f /etc/centos-release ]; then +# check if centos/rhel/rocky +elif [ -f /etc/centos-release ] || [ -f /etc/redhat-release ] || [ -f /etc/rocky-release ]; then sudo yum install pkgconfig gcc libseccomp-devel else echo "Unsupported distribution"