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