mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-rpms.git
synced 2026-09-20 08:03:38 +08:00
fix: el8 dir not yet ready
This commit is contained in:
@@ -40,8 +40,8 @@ GUESS_DIST_BY_GLIBC() {
|
||||
# centos 7 uses glibc 2.17
|
||||
[[ $glibcver -eq 217 ]] && echo 'el7' && return 0
|
||||
|
||||
# centos 8 uses glibc 2.28
|
||||
[[ $glibcver -eq 228 ]] && echo 'el8' && return 0
|
||||
# centos 8 uses glibc 2.28, not yet to be in a seprate dir yet
|
||||
#[[ $glibcver -eq 228 ]] && echo 'el8' && return 0
|
||||
|
||||
# some centos-like dists ships higher version of glibc, fallback to el7
|
||||
[[ $glibcver -gt 217 ]] && echo 'el7' && return 0
|
||||
|
||||
Reference in New Issue
Block a user