bootstrap: some fixes for url-setting

This commit is contained in:
Adam Goldsmith 2015-06-11 10:10:37 -04:00
parent ebc6731a84
commit b88450c7ae
1 changed files with 3 additions and 1 deletions

View File

@ -13,11 +13,12 @@ else
fi
echo "Updating .dotfiles"
cd .dotfiles
if [ $firstRun -eq 1 ]
then
git remote set-url origin http://adamgoldsmith.name/cgit/dotfiles.git
git remote set-url --push origin ssh://adamgoldsmith.name:443/srv/git/dotfiles.git
fi
cd .dotfiles
git pull
git submodule init
git submodule update
@ -26,6 +27,7 @@ echo "Updating .dotfiles/zsh/.zprezto"
cd zsh/.zprezto/
if [ $firstRun -eq 1 ]
then
git remote set-url origin http://adamgoldsmith.name/cgit/prezto.git
git remote set-url --push origin ssh://adamgoldsmith.name:443/srv/git/prezto.git
git remote add upstream https://github.com/sorin-ionescu/prezto.git
fi