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

View File

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