We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe9686a commit 791b545Copy full SHA for 791b545
install.sh
@@ -55,6 +55,7 @@ if ! tar -tzf "$TMP_TARBALL" >/dev/null 2>&1; then
55
exit 1
56
fi
57
58
+# Check if running as root, fallback to non-root
59
if [ "$(id -u 2>/dev/null || echo 1)" -eq 0 ]; then
60
PREFIX="${PREFIX:-/usr/local}"
61
else
0 commit comments