mirror of https://github.com/telemt/telemt.git
Update install.sh
This commit is contained in:
parent
373ae3281e
commit
7eb2b60855
11
install.sh
11
install.sh
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue