From 218e5ecb359e78e01f0db508b1b42f5ff45123e2 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 3 May 2023 09:01:58 +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 48ec5414f..4d512120a 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 != 0 ]; then echo "Please run as root" exit fi