homebrew-core/Formula/mysql-search-replace.rb
ilovezfs a3b1569a07 mysql-search-replace 3.1
Closes .

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-03 00:02:57 -07:00

19 lines
580 B
Ruby

class MysqlSearchReplace < Formula
desc "Database search and replace script in PHP"
homepage "https://interconnectit.com/products/search-and-replace-for-wordpress-databases/"
url "https://github.com/interconnectit/Search-Replace-DB/archive/3.1.tar.gz"
sha256 "837389799a2884e3f77a3ab84c1a4161b6e2220041f91c9f149529111babe676"
bottle :unneeded
def install
libexec.install "srdb.class.php"
libexec.install "srdb.cli.php" => "srdb"
chmod 0755, libexec/"srdb"
bin.install_symlink libexec/"srdb"
end
test do
system bin/"srdb", "--help"
end
end