From a0a850df1bf85f376f795af4dcf4b8926308524f Mon Sep 17 00:00:00 2001 From: Tom von Schwerdtner Date: Wed, 30 Sep 2009 23:56:05 -0400 Subject: Use HOMEBREW_PREFIX/var by default for the mysql db * Switch to the tar.gz for download, it's a few MB smaller than the zip * Remove duplicate --with-plugins line * Switch statedir to #{HOMEBREW_PREFIX}/var/mysql * Set plist to treat HOMEBREW_PREFIX as home instead of hardcoding /usr/local Signed-off-by: Max Howell Closes #67 I amended the caveats slightly. --- Library/Formula/mysql.rb | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'Library') diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 111078cce..b05092ecf 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -1,9 +1,9 @@ require 'brewkit' class Mysql UserName #{`whoami`} WorkingDirectory - /usr/local + #{HOMEBREW_PREFIX} EOPLIST -- cgit v1.2.3