Change software-install to be an installation script instead of an install and upgrade script.
This commit is contained in:
parent
06a3215f64
commit
a1cd643ca6
|
@ -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
4
bin/upgrade-vim
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
find ~/.vim/updated -mtime +0 -exec bash -c "\
|
||||||
|
vim +PluginInstall! +PluginClean! +qall
|
||||||
|
touch ~/.vim/updated
|
||||||
|
" \;
|
Loading…
Reference in a new issue