Skip to content

Commit 791b545

Browse files
committed
Add comment
1 parent fe9686a commit 791b545

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ if ! tar -tzf "$TMP_TARBALL" >/dev/null 2>&1; then
5555
exit 1
5656
fi
5757

58+
# Check if running as root, fallback to non-root
5859
if [ "$(id -u 2>/dev/null || echo 1)" -eq 0 ]; then
5960
PREFIX="${PREFIX:-/usr/local}"
6061
else

0 commit comments

Comments
 (0)