From 8719b356942d4997252c2705795485c7af7fd4f0 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sun, 13 Nov 2022 17:53:46 +0900 Subject: add rocky 8.6 support --- scripts/install-build-deps.sh | 4 ++-- scripts/test-in-container.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/install-build-deps.sh b/scripts/install-build-deps.sh index df2552d..0d7bd94 100755 --- a/scripts/install-build-deps.sh +++ b/scripts/install-build-deps.sh @@ -9,8 +9,8 @@ case $ID in ubuntu*) apt-get install -y gcc make cmake libssh-dev ;; - centos* | rhel*) - dnf install -y gcc make cmake libssh-devel rpm-build + centos* | rhel* | rocky*) + yum install -y gcc make cmake libssh-devel rpm-build ;; *) echo "unsupported dependency install: $ID" diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh index ee389fe..01d483c 100755 --- a/scripts/test-in-container.sh +++ b/scripts/test-in-container.sh @@ -17,7 +17,7 @@ case $ID in pkg=mscp_${project_version}-${ID}-${VERSION_ID}-${arch}.deb dpkg -i ../build/$pkg ;; - centos* | rhel*) + centos* | rhel* | rocky*) pkg=mscp_${project_version}-${ID}-${VERSION_ID}-${arch}.rpm rpm -iv ../build/$pkg ;; -- cgit v1.2.3