fix Rocky is not supported #1014 (#1018)

This commit is contained in:
程序员小王(troy) 2022-08-13 02:07:41 +08:00 committed by GitHub
parent 9de7eb9f26
commit c7bbde7dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,9 @@ function get_os_release() {
arch)
compat_centos8 && return
;;
rocky)
version_ge "8.0" && compat_centos8 && return
;;
esac
elif [[ "${OS_ARCH}x" == "aarch64x" ]]; then
case "$ID" in