From 2eb6a6471e2168bdce557ead1b3f1cbd6e80c9a9 Mon Sep 17 00:00:00 2001 From: c0de Date: Thu, 22 Jun 2017 22:22:52 -0500 Subject: [PATCH] Tweak the makedir commands --- install.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index c5ef1c7..f15ea65 100755 --- a/install.sh +++ b/install.sh @@ -38,15 +38,9 @@ ln -s ~/dotfiles/vimrc ~/.vimrc echo "Changing default shell to ZSH" chsh -s /usr/bin/zsh -# Check for ~/bin and create it if it doesn't exist -if [[ !-d ~/bin ]]; then - mkdir -p ~/bin -fi - -# Check for secret ~/dotfiles/.bin and create it if it doesn't exist -if [[ !-d ~/dotfiles/.bin ]]; then - mkdir -p ~/dotfiles/.bin -fi +# Make the install directories +echo "Making install directories" +mkdir -p ~/bin ~/dotfiles/.bin # Install wp-cli echo "Installing wp-cli"