fix install script

This commit is contained in:
maren 2024-04-13 15:13:03 -04:00
parent 7f11ba1b61
commit ef8b1bbcb2

View file

@ -4,7 +4,7 @@ installtarget=/usr/local/bin
chatlogdir=/var/log/bunkchat chatlogdir=/var/log/bunkchat
chatlog=chat.log chatlog=chat.log
if ! [$(id -u) = 0]; then if ! [ "$(id -u)" = 0 ]; then
echo "ERROR: please run install with root permission" >&2 echo "ERROR: please run install with root permission" >&2
exit 1 exit 1
fi fi