Skip to content

Commit

Permalink
Add git check fixes #32
Browse files Browse the repository at this point in the history
  • Loading branch information
ErdemOzgen authored Mar 28, 2024
1 parent 5ac05bb commit 2dca99e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/blackdagger-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ if [ "$(id -u)" -ne 0 ]; then
exit 1
fi

if ! command -v git &>/dev/null; then
echo "Git is not installed."
echo "Please install git if you want to pull default yamls !!!"
else
echo "Git is already installed. It will pull default yamls"
fi

RELEASES_URL="https://github.com/yudai/gotty/releases"
GOTTY_TARGET_VERSION="v1.0.1"
Expand Down

0 comments on commit 2dca99e

Please sign in to comment.