fix(install.sh): check for git presence on the system

This commit is contained in:
Nicolas Meienberger 2023-08-26 11:29:23 +02:00 committed by Nicolas Meienberger
parent 5f71ffcfa4
commit 44280cb67a

View file

@ -196,4 +196,10 @@ if [ "$(id -u)" -ne 0 ]; then
fi
fi
# Check if git is installed
if ! command -v git >/dev/null; then
echo "Git is not installed. Please install git and restart the script."
exit 1
fi
./runtipi-cli start