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

Check for the ~/.dot_* files. This way install.sh can be used for

updating
This commit is contained in:
Michiel Scholten
2014-07-16 16:42:18 +02:00
parent 2f8a81743d
commit 2b2a86a465

View File

@@ -45,20 +45,26 @@ fi
echo "INFO: Vundle Install" echo "INFO: Vundle Install"
vim +BundleInstall +qall vim +BundleInstall +qall
echo if [ -e ~/.dot_has_hg ]; then
echo "Do you wish to install mercurial stuff?" install_hg
select yn in "Yes" "No"; do elif [ ! -e ~/.dot_no_hg ]; then
case $yn in echo
Yes ) install_hg; break;; echo "Do you wish to install mercurial stuff?"
No ) touch ~/.dot_no_hg; break;; select yn in "Yes" "No"; do
esac case $yn in
done Yes ) install_hg; break;;
No ) touch ~/.dot_no_hg; break;;
esac
done
fi
echo if [ ! -e ~/.dot_is_server ] && [ ! -e ~/.dot_no_server ]; then
echo "Is this machine a server?" echo
select yn in "Yes" "No"; do echo "Is this machine a server?"
case $yn in select yn in "Yes" "No"; do
Yes ) touch ~/.dot_is_server; break;; case $yn in
No ) touch ~/.dot_no_server; break;; Yes ) touch ~/.dot_is_server; break;;
esac No ) touch ~/.dot_no_server; break;;
done esac
done
fi