mirror of https://github.com/zulip/zulip.git
vagrant: Simplify logic for Vagrant 1.8.7 bug.
This is very unlikely to happen since it's been years.
This commit is contained in:
parent
502697d239
commit
cc44aca49b
|
@ -5,11 +5,8 @@ VAGRANTFILE_API_VERSION = "2"
|
|||
if Vagrant::VERSION == "1.8.7"
|
||||
path = `command -v curl`
|
||||
if path.include?("/opt/vagrant/embedded/bin/curl")
|
||||
puts "In Vagrant 1.8.7, curl is broken. Please use Vagrant 2.0.2 " \
|
||||
"or run 'sudo rm -f /opt/vagrant/embedded/bin/curl' to fix the " \
|
||||
"issue before provisioning. See " \
|
||||
"https://github.com/mitchellh/vagrant/issues/7997 " \
|
||||
"for reference."
|
||||
puts "In Vagrant 1.8.7, curl is broken. Please the latest Vagrant."
|
||||
puts "See https://github.com/mitchellh/vagrant/issues/7997 for details."
|
||||
exit
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue