From d51dadba04b3a48a771c3532cd00cf76fdbb6e70 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 13 Dec 2024 21:20:57 -0800 Subject: [PATCH] Update install.sh --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 9bd7299..2870946 100755 --- a/install.sh +++ b/install.sh @@ -11,6 +11,12 @@ printf "\nThis script will try and install the Meshing Around Bot and its depend printf "Installer works best in raspian/debian/ubuntu, if there is a problem, try running the installer again.\n" printf "\nChecking for dependencies...\n" +# if host is femtofox, exit with error +if [ $(hostname) == "femtofox" ]; then + printf "\nThis script is not intended to be run on the femtofox embedded project\n" + exit 1 +fi + # Check and install dependencies if ! command -v python3 &> /dev/null then