mirror of
https://github.com/telemt/telemt.git
synced 2026-05-22 19:51:43 +03:00
Update install.sh
This commit is contained in:
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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user