From 8b354202a38b5771ac58a6c0f43f36a9c62b1fba Mon Sep 17 00:00:00 2001 From: RaspbianProyect by HP3ICC Date: Sat, 3 Jun 2023 09:28:33 +0000 Subject: [PATCH] Update install.sh --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index b9555a1..651c211 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +if [[ $EUID -ne 0 ]]; then + whiptail --title "Python APRS Beacon" --msgbox "Debe ejecutar este script como usuario ROOT" 0 50 + exit 0 +fi apps=("python3")