You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
399 B
18 lines
399 B
#!/bin/bash
|
|
|
|
[ -d .zim ] && firstRun=1
|
|
|
|
echo "Getting zim"
|
|
git submodule update --init --recursive
|
|
|
|
echo "Updating .dotfiles/zsh/.zim"
|
|
cd .zim
|
|
if [ $firstRun -eq 1 ]
|
|
then
|
|
git remote set-url origin "http://adamgoldsmith.name/cgit/zim.git"
|
|
git remote set-url --push origin "ag:/srv/git/zim.git"
|
|
git remote add upstream "https://github.com/Eriner/zim.git"
|
|
fi
|
|
git submodule init
|
|
git submodule update
|