diff options
| author | Jack Nagel | 2013-07-06 11:28:49 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-06 11:29:33 -0500 |
| commit | 64ae87bb9249ad1fc686881770a049026f577beb (patch) | |
| tree | d0c6802423ac7a42df6fa94fa61d9b22b55851e9 /Library | |
| parent | 3aec31ede82726beb42aa8f7ec9cf8559df0896f (diff) | |
| download | homebrew-64ae87bb9249ad1fc686881770a049026f577beb.tar.bz2 | |
Don't use install_p directly
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/redis.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
2 files changed, 3 insertions, 1 deletions
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 |
