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() {
if command -v ldd >/dev/null 2>&1; then
if ldd --version 2>&1 | grep -iq musl; then
printf 'musl\n'
return
fi
fi
printf 'gnu\n'
case "$(ldd --version 2>&1 || true)" in
*musl*) printf 'musl\n' ;;
*) printf 'gnu\n' ;;
esac
}
fetch_to_stdout() {