From db1c31579c213982922dddc327f55b208d1f8150 Mon Sep 17 00:00:00 2001 From: Kelly Date: Thu, 26 Feb 2026 14:18:38 -0800 Subject: [PATCH] Update install.sh --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/install.sh b/install.sh index d8b683d..9c88a9f 100755 --- a/install.sh +++ b/install.sh @@ -107,6 +107,18 @@ if [[ ! -w ${program_path} ]]; then exit 1 fi +# check if we have git and curl installed +if ! command -v git &> /dev/null +then + printf "git not found, trying 'apt-get install git'\n" + sudo apt-get install git +fi +if ! command -v curl &> /dev/null +then + printf "curl not found, trying 'apt-get install curl'\n" + sudo apt-get install curl +fi + # check if we are in /opt/meshing-around if [[ "$program_path" != "/opt/meshing-around" ]]; then echo "----------------------------------------------"