mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-rpms.git
synced 2026-09-20 08:03:38 +08:00
el8 use el7 dir
This commit is contained in:
@@ -31,6 +31,10 @@ CHECKEXISTS() {
|
||||
|
||||
GUESS_DIST() {
|
||||
local dist=$(rpm --eval '%{?dist}' | tr -d '.')
|
||||
|
||||
# el8 fallback to el7
|
||||
[[ $dist == "el8" ]] && dist="el7"
|
||||
|
||||
[[ -n $dist ]] && echo $dist && return 0
|
||||
|
||||
local glibcver=$(ldd --version | head -n1 | grep -Eo '[0-9]+' | tr -d '\n')
|
||||
|
||||
Reference in New Issue
Block a user