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) {
brewUpdated = true
try {
runCommand('Running brew update / upgrade', `brew update && brew upgrade`)
runCommand('Running brew update / upgrade', `brew update && brew upgrade --force`)
} catch (e) {
console.log(e)
log('error', 'Homebrew', 'Failed running brew update / upgrade')

View file

@ -8207,6 +8207,10 @@ softwarePackages:
choco: velero
github: github.com/vmware-tanzu/velero
yay: velero-bin
macvim:
_todo: Integrate this into macOS setup
_when:cask: '! test -d /Applications/MacVim.app'
cask: macvim
vim:
_bin: vim
_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
_home: https://www.vim.org/
_name: VIM
_when:cask: '! test -d /Applications/MacVim.app'
ansible: professormanhattan.vim
apt: vim
cask: macvim
brew: vim
choco: vim
dnf: vim