Added force to brew upgrade

This commit is contained in:
Brian Zalewski 2023-06-01 02:13:39 +00:00
parent 27451ed777
commit dd91b7bad8
2 changed files with 5 additions and 3 deletions

View file

@ -748,7 +748,7 @@ async function beforeInstall(packageManager) {
if (!brewUpdated) { if (!brewUpdated) {
brewUpdated = true brewUpdated = true
try { try {
runCommand('Running brew update / upgrade', `brew update && brew upgrade`) runCommand('Running brew update / upgrade', `brew update && brew upgrade --force`)
} catch (e) { } catch (e) {
console.log(e) console.log(e)
log('error', 'Homebrew', 'Failed running brew update / upgrade') log('error', 'Homebrew', 'Failed running brew update / upgrade')

View file

@ -8207,6 +8207,10 @@ softwarePackages:
choco: velero choco: velero
github: github.com/vmware-tanzu/velero github: github.com/vmware-tanzu/velero
yay: velero-bin yay: velero-bin
macvim:
_todo: Integrate this into macOS setup
_when:cask: '! test -d /Applications/MacVim.app'
cask: macvim
vim: vim:
_bin: vim _bin: vim
_desc: '[Vim](https://www.vim.org/) is a greatly improved version of the good old UNIX editor Vi' _desc: '[Vim](https://www.vim.org/) is a greatly improved version of the good old UNIX editor Vi'
@ -8214,10 +8218,8 @@ softwarePackages:
_github: https://github.com/vim/vim _github: https://github.com/vim/vim
_home: https://www.vim.org/ _home: https://www.vim.org/
_name: VIM _name: VIM
_when:cask: '! test -d /Applications/MacVim.app'
ansible: professormanhattan.vim ansible: professormanhattan.vim
apt: vim apt: vim
cask: macvim
brew: vim brew: vim
choco: vim choco: vim
dnf: vim dnf: vim