From d566bb12ec20546ecbd8c04dab27b7e9ab2ee22b Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 10 Jul 2024 20:15:50 -0700 Subject: [PATCH] Update install.sh --- install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index cc2ca38..4f1ef60 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,6 @@ #!/bin/bash # install.sh - cd "$(dirname "$0")" # add user to groups for serial access @@ -63,8 +62,8 @@ if [ $bot == "mesh" ]; then fi if [ $bot == "n" ]; then - launch.sh - exit 0 + if [ -f launch.sh ]; then + ./launch.sh fi echo "Goodbye!"