percona-server: use install_symlink
parent
97079c669a
commit
b16a89fb5f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue