Change software-install to be an installation script instead of an install and upgrade script.

This commit is contained in:
Scott Wallace 2016-09-05 07:41:48 +01:00
parent 06a3215f64
commit a1cd643ca6
2 changed files with 4 additions and 10 deletions

View file

@ -73,7 +73,6 @@ function install_Darwin_software {
brew upgrade brew upgrade
brew cleanup brew cleanup
brew bundle --global check brew bundle --global check
cask-upgrade -y && cask-tidy
brew cask cleanup brew cask cleanup
#------------------------------- #-------------------------------
@ -92,15 +91,6 @@ echo "#-------------------------------"
install_$(uname -s)_software install_$(uname -s)_software
configure_$(uname -s)_software configure_$(uname -s)_software
#-------------------------------
# Ensure Vim plugins are up-to-date, if older than one day
#-------------------------------
find ~/.vim/updated -mtime +0 -exec bash -c "\
vim +PluginInstall! +PluginClean! +qall
touch ~/.vim/updated
" \;
#-------------------------------
echo "#-------------------------------" echo "#-------------------------------"
echo "# END: $(date)" echo "# END: $(date)"
echo "#-------------------------------" echo "#-------------------------------"

4
bin/upgrade-vim Executable file
View file

@ -0,0 +1,4 @@
find ~/.vim/updated -mtime +0 -exec bash -c "\
vim +PluginInstall! +PluginClean! +qall
touch ~/.vim/updated
" \;