fix(install.sh): check for git presence on the system
This commit is contained in:
parent
5f71ffcfa4
commit
44280cb67a
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue