Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

phpenv: fix man page installation

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
commit 0455d341c8e2a08524d1abd54ae6fdb53e7b4cab 1 parent 97407af
@jacknagel jacknagel authored josegonzalez committed
Showing with 4 additions and 3 deletions.
  1. +4 −3 Formula/phpenv.rb
View
7 Formula/phpenv.rb
@@ -11,9 +11,10 @@ def options
end
def install
- prefix.install Dir['*']
- system "mkdir #{prefix}/share && mv #{prefix}/man #{prefix}/share"
- system("#{prefix}/bin/phpenv-install.sh") unless ARGV.include? '--skip-install'
+ bin.install 'bin/phpenv-install.sh'
+ man1.install 'man/phpenv-install.1'
+ doc.install 'man/phpenv-install.1.html'
+ system("#{bin}/phpenv-install.sh") unless ARGV.include? '--skip-install'
end
def caveats;
Please sign in to comment.
Something went wrong with that request. Please try again.