diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-11-13 17:53:46 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-11-13 17:53:46 +0900 |
commit | 8719b356942d4997252c2705795485c7af7fd4f0 (patch) | |
tree | 7830f1d533b7ba1acc5c3c3af3deff199928fe32 /scripts | |
parent | e9d5ceb46222dccf92a69c9865f2df3301b660da (diff) |
add rocky 8.6 support
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install-build-deps.sh | 4 | ||||
-rwxr-xr-x | scripts/test-in-container.sh | 2 |
2 files changed, 3 insertions, 3 deletions
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 ;; |