Skip to content

Commit

Permalink
feat(app): Added existence check for some of the software
Browse files Browse the repository at this point in the history
  • Loading branch information
Ijmir committed Feb 9, 2015
1 parent bdefac5 commit 7eb4a55
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,21 @@ inquirer_software

############ SOFTWARE ############
echo_title "BEGIN INSTALLING SOFTWARE"
brew install tree
brew install wget
brew install imagemagick
brew install git
brew install python
if ( ! which tree >/dev/null); then
brew install tree;
fi
if ( ! which wget >/dev/null); then
brew install wget;
fi
if ( ! which imagemagick >/dev/null); then
brew install imagemagick;
fi
if ( ! which git >/dev/null); then
brew install git;
fi
if ( ! which python >/dev/null); then
brew install python;
fi

if ([[ $choice == *"all"* ]] || [[ $choice == "Spectacle" ]]); then
brew cask install spectacle --force
Expand Down

0 comments on commit 7eb4a55

Please sign in to comment.