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() {
|
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() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue