From 14bb98563dd2d717e40406633e095461fc831d2b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 2 Dec 2016 09:04:18 +0000 Subject: [PATCH] orientdb: cleanup 2.2.13 changes. --- Formula/orientdb.rb | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Formula/orientdb.rb b/Formula/orientdb.rb index c28ec870d5..f4bc254644 100644 --- a/Formula/orientdb.rb +++ b/Formula/orientdb.rb @@ -6,7 +6,10 @@ class Orientdb < Formula bottle do cellar :any_skip_relocation - sha256 "4468d55ad311b318a9b36cf468194797da0314f583433a3ad196e219fb5750a2" => :sierra + sha256 "1281edfb9396ca133d16f1af0faf78d5aaf6c5abe8d42f5e96e36913b4fe44db" => :sierra + sha256 "6ca2f994653590ac3f04ace2ddd369b0f66d5b648c5a151c5c592d7aab5ca982" => :el_capitan + sha256 "356a546861606b228294421816f188ed42f4a05d234ee7e1c96e4ccc8f03ade5" => :yosemite + sha256 "b065a2a8527b54005b7b9b65c395491700a165f56c4c22ab4523018a15816ebc" => :mavericks end def install @@ -20,7 +23,6 @@ class Orientdb < Formula EOS - inreplace "#{libexec}/config/orientdb-server-log.properties", "../log", "#{var}/log/orientdb" inreplace "#{libexec}/bin/orientdb.sh", "../log", "#{var}/log/orientdb" inreplace "#{libexec}/bin/server.sh", "ORIENTDB_PID=$ORIENTDB_HOME/bin", "ORIENTDB_PID=#{var}/run/orientdb" @@ -52,8 +54,8 @@ class Orientdb < Formula end def caveats; <<-EOS.undent - The OrientDB root password was set to 'orientdb'. Follow this to reset it: - http://orientdb.com/docs/2.2/Server-Security.html#restoring-the-servers-user-root + The OrientDB root password was set to 'orientdb'. To reset it: + http://orientdb.com/docs/2.2/Server-Security.html#restoring-the-servers-user-root EOS end @@ -62,7 +64,8 @@ class Orientdb < Formula ENV["ORIENTDB_ROOT_PASSWORD"] = "orientdb" cp "#{libexec}/config/orientdb-server-config.xml", testpath - inreplace "#{testpath}/orientdb-server-config.xml", "", " \n " + inreplace "#{testpath}/orientdb-server-config.xml", "", + " \n " begin assert_match /OrientDB console v.2.2.13/, pipe_output("#{bin}/orientdb-console \"exit;\"")