Skip to content

Commit

Permalink
Typo in Vagrantfile
Browse files Browse the repository at this point in the history
  • Loading branch information
grtjn committed Jun 26, 2017
1 parent 2bd6467 commit 6cf084a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@ if @command == "status" or @command == "up" or @command == "provision"
puts ""

if @command == "up"
if @vm_version == "5.11" and (@ml_version == "8" or @ml_version == "9")
if @vm_version =~ /^5\./ and (@ml_version.to_i >= 8)
puts "MarkLogic 8+ NOT supported on CentOS 5-! Try MarkLogic 7-, or CentOS 6+.."
abort "Bailing out.."
elsif (@vm_version != "7.0" or @vm_version != "7.1" or @vm_version != "7.2") and @ml_version == "9"
elsif (@vm_version =~ /^5\./ or @vm_version =~ /^6\./) and @ml_version.to_i >= 9
puts "MarkLogic 9+ NOT supported on CentOS 6-! Try MarkLogic 8-, or CentOS 7+.."
abort "Bailing out.."
end
Expand Down

0 comments on commit 6cf084a

Please sign in to comment.