bootstrap/bootstrap.sh

14 lines
325 B
Bash
Executable File

#!/bin/bash
git clone http://adamgoldsmith.name/cgit/bootstrap.git .dotfiles
cd .dotfiles
git remote set-url origin http://adamgoldsmith.name/cgit/bootstrap.git
git remote set-url --push origin ssh://adamgoldsmith.name:443/srv/git/bootstrap.git
targets="$@"
if [ -n "$targets" ]
then
./getter.sh "$@"
./stower.sh "$@"
fi