Work around upstream bug in Vagrant 1.8.7 (#27230)
Upstream issue is documented here, and the workaround is tested and working on OS X Sierra. I do not have an older machine to test on, but curl's invocation has been relatively stable over the years. https://github.com/mitchellh/vagrant/issues/7969 While I was working on this, Vagrant 1.9.0 was released. I'm not updating this cask to 1.9.0 at this time to give it a few days for any potential issues to shake out.
This commit is contained in:
parent
9d3ab08cae
commit
8f731adc51
|
@ -5,12 +5,21 @@ cask 'vagrant' do
|
|||
# hashicorp.com/vagrant was verified as official when first introduced to the cask
|
||||
url "https://releases.hashicorp.com/vagrant/#{version}/vagrant_#{version}.dmg"
|
||||
appcast 'https://github.com/mitchellh/vagrant/releases.atom',
|
||||
checkpoint: '5b1451672c9d60925f947f676d56250f5d5572462abcba4f8ef8fc043a4cb7fc'
|
||||
checkpoint: '8d16ac5df154d7b39604d9f6505b17394cdc45205c6a75a1bac8d9ff39cc2f06'
|
||||
name 'Vagrant'
|
||||
homepage 'https://www.vagrantup.com/'
|
||||
|
||||
pkg 'Vagrant.pkg'
|
||||
|
||||
# Vagrant 1.8.7 ships with a broken embedded curl. Removing it causes vagrant
|
||||
# to fall back to the system-installed curl, which works.
|
||||
# https://github.com/mitchellh/vagrant/issues/7969
|
||||
postflight do
|
||||
system_command '/bin/rm',
|
||||
args: ['/opt/vagrant/embedded/bin/curl'],
|
||||
sudo: true
|
||||
end
|
||||
|
||||
uninstall script: { executable: 'uninstall.tool', input: %w[Yes] },
|
||||
pkgutil: 'com.vagrant.vagrant'
|
||||
|
||||
|
|
Loading…
Reference in New Issue