fixed unzip to remove the man pages (that prevent installation)

This commit is contained in:
Damian Montero
2016-12-13 15:08:43 -05:00
committed by GitHub
parent 80a5957bdd
commit 516bfb303d

View File

@@ -26,7 +26,9 @@ class Unzip < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "-f", "unix/Makefile", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "MANDIR=/usr/local/tmp/unzip-man", "-f", "unix/Makefile", "install"
#remove the man pages we couldn't install
system "rm -r -f /usr/local/tmp/unzipman"
end
end