feat: brew and apt packages

This commit is contained in:
2024-03-07 01:43:25 +00:00
parent f638492ce6
commit 1d574b0d63
5 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Configure git.
#
if ! command -v git &> /dev/null; then
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
sudo apt-get install -qq git
elif [[ "$OSTYPE" == "darwin"* ]]; then
brew install git
fi
fi