Update install.sh

This commit is contained in:
Alexey 2026-03-07 19:49:45 +03:00 committed by GitHub
parent 373ae3281e
commit 7eb2b60855
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 7 deletions

View File

@ -29,13 +29,10 @@ detect_arch() {
} }
detect_libc() { detect_libc() {
if command -v ldd >/dev/null 2>&1; then case "$(ldd --version 2>&1 || true)" in
if ldd --version 2>&1 | grep -iq musl; then *musl*) printf 'musl\n' ;;
printf 'musl\n' *) printf 'gnu\n' ;;
return esac
fi
fi
printf 'gnu\n'
} }
fetch_to_stdout() { fetch_to_stdout() {