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:
+6
-4
@@ -29,11 +29,13 @@ detect_arch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
detect_libc() {
|
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
|
||||||
printf 'musl\n'
|
if ldd --version 2>&1 | grep -iq musl; then
|
||||||
else
|
printf 'musl\n'
|
||||||
printf 'gnu\n'
|
return
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
printf 'gnu\n'
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch_to_stdout() {
|
fetch_to_stdout() {
|
||||||
|
|||||||
Reference in New Issue
Block a user