mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-25 11:35:05 +08:00
Update download-latest.sh
This commit is contained in:
parent
8311a7e031
commit
6ec0310ceb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user