dotar/install.sh
Mulia Arifandi Nasution 17fbcc3292 Make installation more faster
Clone only the latest history
2015-03-14 00:29:11 +07:00

12 lines
289 B
Bash

#!/bin/sh
if [ ! -d "$HOME/.yadr" ]; then
echo "Installing YADR for the first time"
git clone --depth=1 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