We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99064ee commit 00f707fCopy full SHA for 00f707f
install.sh
@@ -11,6 +11,7 @@ DEST=${BIN_DIR}/frankenphp
11
12
OS=$(uname -s)
13
ARCH=$(uname -m)
14
+GNU=""
15
16
if type "tput" >/dev/null 2>&1; then
17
bold=$(tput bold || true)
@@ -31,6 +32,11 @@ Linux*)
31
32
THE_ARCH_BIN=""
33
;;
34
esac
35
+
36
+ if getconf GNU_LIBC_VERSION >/dev/null 2>&1; then
37
+ THE_ARCH_BIN="${THE_ARCH_BIN}-gnu"
38
+ GNU=" (glibc)"
39
+ fi
40
41
Darwin*)
42
case ${ARCH} in
@@ -58,7 +64,7 @@ fi
58
64
59
65
SUDO=""
60
66
61
-echo "📦 Downloading ${bold}FrankenPHP${normal} for ${OS} (${ARCH}):"
67
+echo "📦 Downloading ${bold}FrankenPHP${normal} for ${OS}${GNU} (${ARCH}):"
62
68
63
69
# check if $DEST is writable and suppress an error message
70
touch "${DEST}" 2>/dev/null
0 commit comments