Update install.sh

This commit is contained in:
Mirotin Artem 2026-03-07 19:43:55 +03:00 committed by GitHub
parent 178630e3bf
commit 373ae3281e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -29,11 +29,13 @@ detect_arch() {
}
detect_libc() {
if command -v ldd >/dev/null 2>&1 && ldd --version 2>&1 | grep -iq musl; then
if command -v ldd >/dev/null 2>&1; then
if ldd --version 2>&1 | grep -iq musl; then
printf 'musl\n'
else
printf 'gnu\n'
return
fi
fi
printf 'gnu\n'
}
fetch_to_stdout() {