From f4b8c7ca6654db23ac45dc6d430b0b10415c04c2 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Sat, 7 Nov 2020 17:07:59 +0100 Subject: [PATCH] fix: v4 --- install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index aa8350e..ed58e46 100644 --- a/install.sh +++ b/install.sh @@ -1,16 +1,16 @@ #!/bin/bash -#Prerequesits +# - Prerequesits - echo "-- Installing git --" -if [ "$(which $1)" != "" ]; then - apt-get install $1 -y > /dev/null +if [ "$(which git)" != "" ]; then + apt-get install git -y > /dev/null fi -# Cloning Repo +# - Cloning Repo - echo "-- Cloning repo --" git clone git@github.com:jim-fx/.dotfiles.git ~/.dotfiles -# Executing the script +# - Executing the script - echo "-- starting script --" chmod +x ~/.dotfiles/setup.sh ~/.dotfiles/setup.sh \ No newline at end of file