From a1cd643ca6e6fe667ebfb41060fd5ef40b1b69d7 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Mon, 5 Sep 2016 07:41:48 +0100 Subject: [PATCH] Change software-install to be an installation script instead of an install and upgrade script. --- bin/software-install | 10 ---------- bin/upgrade-vim | 4 ++++ 2 files changed, 4 insertions(+), 10 deletions(-) create mode 100755 bin/upgrade-vim diff --git a/bin/software-install b/bin/software-install index 6fb6e0d..c3692ac 100755 --- a/bin/software-install +++ b/bin/software-install @@ -73,7 +73,6 @@ function install_Darwin_software { brew upgrade brew cleanup brew bundle --global check - cask-upgrade -y && cask-tidy brew cask cleanup #------------------------------- @@ -92,15 +91,6 @@ echo "#-------------------------------" install_$(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 "# END: $(date)" echo "#-------------------------------" diff --git a/bin/upgrade-vim b/bin/upgrade-vim new file mode 100755 index 0000000..f4aa49a --- /dev/null +++ b/bin/upgrade-vim @@ -0,0 +1,4 @@ +find ~/.vim/updated -mtime +0 -exec bash -c "\ + vim +PluginInstall! +PluginClean! +qall + touch ~/.vim/updated +" \;