From d65e05320f88ce69ce9e18099d2682cbc18e5514 Mon Sep 17 00:00:00 2001 From: scossa Date: Thu, 23 Nov 2023 23:39:00 +0100 Subject: [PATCH] Update easysetup.sh --- easysetup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/easysetup.sh b/easysetup.sh index 286edfe..8e7e33a 100644 --- a/easysetup.sh +++ b/easysetup.sh @@ -1,5 +1,10 @@ #!/bin/bash +if [[ $EUID -eq 0 ]]; then + echo "Non runnare questo script con 'sudo', quando serviranno i privilegi ti verrĂ  richiesto" + exit 1 +fi + echo "Scarico Chromium, curl e chtunn.sh" echo sudo apt update && sudo apt install curl -y && sudo apt install chromium-browser -y && sudo apt install chromium-browser -y