components/facter/patches/facter-00-installrb-nogzip-manpage.patch
branchs11u2-sru
changeset 3407 e5c7eb70e0b8
parent 3406 ccfa5fe625db
child 3408 ea9047f12868
equal deleted inserted replaced
3406:ccfa5fe625db 3407:e5c7eb70e0b8
     1 Prevent facter's build script from gzipping the manpages.  Our version
       
     2 of man doesn't understand manpages with a .gz extension
       
     3 
       
     4 --- facter-1.6.16/install.rb.orig	2013-01-04 14:11:28.431143114 -0700
       
     5 +++ facter-1.6.16/install.rb	2013-01-04 14:11:35.402916848 -0700
       
     6 @@ -107,9 +107,6 @@
       
     7      FileUtils.makedirs(om, {:mode => 0755, :verbose => true})
       
     8      FileUtils.chmod(0755, om)
       
     9      FileUtils.install(mf, omf, {:mode => 0644, :preserve => true, :verbose => true})
       
    10 -    gzip = %x{which gzip}
       
    11 -    gzip.chomp!
       
    12 -    %x{#{gzip} -f #{omf}}
       
    13    end
       
    14    else
       
    15    puts "Skipping Man Page Generation"