components/facter/patches/facter-00-installrb-nogzip-manpage.patch
author Drew Fisher <drew.fisher@oracle.com>
Tue, 21 May 2013 09:30:36 -0600
branchs11-update
changeset 2629 3666f503c6e7
permissions -rw-r--r--
PSARC/2013/005 Puppet 3.0.1 15846284 Integrate the Puppet CM 16479671 problem in UTILITY/PUPPET 16480077 Update Puppet to 3.1.1

Prevent facter's build script from gzipping the manpages.  Our version
of man doesn't understand manpages with a .gz extension

--- facter-1.6.16/install.rb.orig	2013-01-04 14:11:28.431143114 -0700
+++ facter-1.6.16/install.rb	2013-01-04 14:11:35.402916848 -0700
@@ -107,9 +107,6 @@
     FileUtils.makedirs(om, {:mode => 0755, :verbose => true})
     FileUtils.chmod(0755, om)
     FileUtils.install(mf, omf, {:mode => 0644, :preserve => true, :verbose => true})
-    gzip = %x{which gzip}
-    gzip.chomp!
-    %x{#{gzip} -f #{omf}}
   end
   else
   puts "Skipping Man Page Generation"