components/ruby/puppet/patches/puppet-01-installrb-nogzip-manpage.patch
changeset 7565 48aa82a0931f
parent 7564 f958607559a6
child 7566 34f2284a605f
equal deleted inserted replaced
7564:f958607559a6 7565:48aa82a0931f
     1 Oracle customization - non upstream patch
       
     2 Prevent puppet's build script from gzipping the manpages.  Our version
       
     3 of man doesn't understand manpages with a .gz extension
       
     4 
       
     5 --- puppet-3.8.6/install.rb.orig        2016-04-19 14:11:02.962068933 -0700
       
     6 +++ puppet-3.8.6/install.rb     2016-04-19 14:12:16.560008346 -0700
       
     7 @@ -1,4 +1,7 @@
       
     8  #! /usr/bin/env ruby
       
     9 +#######################################################################
       
    10 +# Oracle has modified the originally distributed contents of this file.
       
    11 +#######################################################################
       
    12  #--
       
    13  # Copyright 2004 Austin Ziegler <[email protected]>
       
    14  #   Install utility. Based on the original installation script for rdoc by the
       
    15 @@ -135,9 +138,6 @@
       
    16        FileUtils.chmod(0755, om)
       
    17        FileUtils.install(mf, omf, {:mode => 0644, :preserve => true, :verbose => true})
       
    18      end
       
    19 -    gzip = %x{which gzip}
       
    20 -    gzip.chomp!
       
    21 -    %x{#{gzip} -f #{omf}}
       
    22    end
       
    23  end
       
    24