bootstrap: some fixes for url-setting
This commit is contained in:
parent
ebc6731a84
commit
b88450c7ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue