Update install.sh

This commit is contained in:
Kelly
2026-02-26 14:18:38 -08:00
parent 2a7000a2e6
commit db1c31579c

View File

@@ -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 "----------------------------------------------"