From 64ae87bb9249ad1fc686881770a049026f577beb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 6 Jul 2013 11:28:49 -0500 Subject: Don't use install_p directly --- Library/Formula/redis.rb | 2 +- Library/Homebrew/extend/pathname.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index cfb1143bd..f92d2065e 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -37,7 +37,7 @@ class Redis < Formula end etc.install 'redis.conf' unless (etc/'redis.conf').exist? - etc.install_p 'sentinel.conf', 'redis-sentinel.conf' unless (etc/'redis-sentinel.conf').exist? + etc.install 'sentinel.conf' => 'redis-sentinel.conf' unless (etc/'redis-sentinel.conf').exist? end plist_options :manual => "redis-server #{HOMEBREW_PREFIX}/etc/redis.conf" diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index eed5d0383..6e582c703 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -62,6 +62,7 @@ class Pathname return return_value end + protected :install_p # Creates symlinks to sources in this folder. def install_symlink *sources @@ -94,6 +95,7 @@ class Pathname return dst end + protected :install_symlink_p # we assume this pathname object is a file obviously def write content -- cgit v1.2.3