From a3517d28fac34f894cbf57c7c5a2c73d55e8b90c Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 3 May 2023 09:00:57 +0200 Subject: [PATCH] fix --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index d34bc6182..48ec5414f 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -11,7 +11,7 @@ OS_TYPE=$(cat /etc/os-release | grep -w "ID" | cut -d "=" -f 2 | tr -d '"') OS_VERSION=$(cat /etc/os-release | grep -w "VERSION_ID" | cut -d "=" -f 2 | tr -d '"') LATEST_VERSION=$(curl --silent https://get.coollabs.io/versions.json | grep -i version | sed -n '2p' | xargs | awk '{print $2}' | tr -d ',') -if [ "$EUID" -ne 0 ]; then +if [ $EUID -ne 0 ]; then echo "Please run as root" exit fi