Tweak the makedir commands

This commit is contained in:
c0de 2017-06-22 22:22:52 -05:00
parent c152438e1c
commit 2eb6a6471e
1 changed files with 3 additions and 9 deletions

View File

@ -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"