Update download-latest.sh

This commit is contained in:
Clémentine U. - curqui 2024-02-05 10:59:54 +01:00 committed by GitHub
parent 8311a7e031
commit 6ec0310ceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,9 +68,9 @@ get_os() {
# Gets the C lib the system is using by setting the $c_lib variable. # Gets the C lib the system is using by setting the $c_lib variable.
# Returns 0 in case of success, 1 otherwise. # Returns 0 in case of success, 1 otherwise.
get_C_library(){ get_C_library(){
if ldd --version | grep -i glibc;then if ldd --version | grep -i glibc; then
c_lib='glibc' c_lib='glibc'
elif ldd --version | grep -i musl;then elif ldd --version | grep -i musl; then
c_library_failure_usage c_library_failure_usage
elif ldd --version | grep -i bionic; then elif ldd --version | grep -i bionic; then
c_library_failure_usage c_library_failure_usage