1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Better installation of the various dependencies, support for updates

This commit is contained in:
Michiel Scholten
2014-06-28 17:21:33 +02:00
parent 07f008ee3a
commit 9361acf3fa

View File

@@ -10,13 +10,34 @@ git submodule init
echo "INFO: Update submodules" echo "INFO: Update submodules"
git submodule update git submodule update
if [ ! -d "~/.vim/bundle/Vundle.vim" ]; then
mkdir -p ~/.vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
else
cd ~/.vim/bundle/Vundle.vim
git pull
cd
fi
echo "INFO: Vundle Install" echo "INFO: Vundle Install"
vim +BundleInstall +qall vim +BundleInstall +qall
# Mercurial extensions # Mercurial extensions
mkdir -p ~/workspace/application_addons/mercurial #HGDIR=~/workspace/application_addons/mercurial
cd ~/workspace/application_addons/mercurial HGDIR=~/.hgext
hg clone http://bitbucket.org/Mekk/mercurial_keyring mkdir -p $HGDIR
hg clone http://bitbucket.org/sjl/hg-prompt cd $HGDIR
hg clone hg clone http://bitbucket.org/durin42/hg-git
hg clone http://bitbucket.org/yujiewu/hgflow for REPO in Mekk/mercurial_keyring sjl/hg-prompt durin42/hg-git yujiewu/hgflow
do
REPODIR="${REPO##*/}"
echo $REPODIR
if [ ! -d "$HGDIR/$REPODIR" ]; then
hg clone http://bitbucket.org/$REPO
#echo http://bitbucket.org/$REPO
else
cd $HGDIR/$REPODIR
#echo $HGDIR/$REPODIR
hg pull -u
fi
done