vimpager: Fix for HEAD

Closes #7455.

Signed-off-by: Uladzislau Shablinski <vladshablinsky@gmail.com>
This commit is contained in:
Birger J. Nordølum 2016-12-01 22:56:17 +01:00 committed by Uladzislau Shablinski
parent a54add9af1
commit 43d25a438c

View file

@ -20,7 +20,11 @@ class Vimpager < Formula
system "make", "docs" if build.with? "pandoc"
bin.install "vimcat"
bin.install "vimpager"
doc.install "README.md", "vimcat.md", "vimpager.md"
if build.head?
doc.install "README.md"
else
doc.install "README.md", "vimcat.md", "vimpager.md"
end
man1.install "vimcat.1", "vimpager.1" if build.with? "pandoc"
end