Tweak the makedir commands
This commit is contained in:
parent
c152438e1c
commit
2eb6a6471e
12
install.sh
12
install.sh
@ -38,15 +38,9 @@ ln -s ~/dotfiles/vimrc ~/.vimrc
|
|||||||
echo "Changing default shell to ZSH"
|
echo "Changing default shell to ZSH"
|
||||||
chsh -s /usr/bin/zsh
|
chsh -s /usr/bin/zsh
|
||||||
|
|
||||||
# Check for ~/bin and create it if it doesn't exist
|
# Make the install directories
|
||||||
if [[ !-d ~/bin ]]; then
|
echo "Making install directories"
|
||||||
mkdir -p ~/bin
|
mkdir -p ~/bin ~/dotfiles/.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
|
|
||||||
|
|
||||||
# Install wp-cli
|
# Install wp-cli
|
||||||
echo "Installing wp-cli"
|
echo "Installing wp-cli"
|
||||||
|
Loading…
Reference in New Issue
Block a user