From ef8b1bbcb29f031d3e2aa3f3e436d386bfebc356 Mon Sep 17 00:00:00 2001 From: maren Date: Sat, 13 Apr 2024 15:13:03 -0400 Subject: [PATCH] fix install script --- build => install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename build => install.sh (97%) diff --git a/build b/install.sh similarity index 97% rename from build rename to install.sh index ddeb17b..dc110ee 100755 --- a/build +++ b/install.sh @@ -4,7 +4,7 @@ installtarget=/usr/local/bin chatlogdir=/var/log/bunkchat chatlog=chat.log -if ! [$(id -u) = 0]; then +if ! [ "$(id -u)" = 0 ]; then echo "ERROR: please run install with root permission" >&2 exit 1 fi