mirror of
https://github.com/telemt/telemt.git
synced 2026-06-19 02:00:08 +07:00
Update install.sh
This commit is contained in:
+4
-7
@@ -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