Skip to content

Commit

Permalink
mariadb: use install_symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Mar 25, 2014
1 parent b4925f7 commit fd9b3bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/mariadb.rb
Expand Up @@ -108,7 +108,7 @@ def install
(prefix+'sql-bench').rmtree if build.without? 'bench'

# Link the setup script into bin
ln_s prefix+'scripts/mysql_install_db', bin+'mysql_install_db'
bin.install_symlink prefix/"scripts/mysql_install_db"

# Fix up the control script and link into bin
inreplace "#{prefix}/support-files/mysql.server" do |s|
Expand All @@ -117,7 +117,7 @@ def install
s.gsub!(/pidof/, 'pgrep') if MacOS.version >= :mountain_lion
end

ln_s "#{prefix}/support-files/mysql.server", bin
bin.install_symlink prefix/"support-files/mysql.server"
end
end

Expand Down

0 comments on commit fd9b3bb

Please sign in to comment.