dotar/install.sh

12 lines
280 B
Bash
Raw Normal View History

#!/bin/sh
if [ ! -d "$HOME/.yadr" ]; then
echo "Installing YADR for the first time"
git clone https://github.com/skwp/dotfiles.git "$HOME/.yadr"
cd "$HOME/.yadr"
[ "$1" == "ask" ] && export ASK="true"
rake install
else
echo "YADR is already installed"
fi