percona-server: use install_symlink

master
Jack Nagel 2014-03-25 10:07:45 -05:00
parent 97079c669a
commit b16a89fb5f
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class PerconaServer < Formula
rm_rf prefix+'data'
# 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|
@ -114,7 +114,7 @@ class PerconaServer < Formula
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"
# Move mysqlaccess to libexec
mv "#{bin}/mysqlaccess", libexec