Skip to content

Commit

Permalink
bash helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiiRepair committed Oct 11, 2023
1 parent 3669ec1 commit 36f3d59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ if ! command -v redis-cli >/dev/null 2>&1; then
sudo apt-get update && sudo apt-get install redis -y
fi

GIT_PATH=$(which git 2>&1)

if ! [ -x $GIT_PATH ]; then
if ! command -v git >/dev/null 2>&1; then
sudo apt-get install git-all -y
fi

Expand Down

0 comments on commit 36f3d59

Please sign in to comment.