Sha256: 13e686279f530f5a0ff1b9d234411d0b7df838d2cc30a84a84f90b07d4c12967
Contents?: true
Size: 837 Bytes
Versions: 27
Compression:
Stored size: 837 Bytes
Contents
#!/bin/bash # # Make sure that old facter cruft is removed # This also allows us to downgrade facter as # it's more likely that installing old versions # over new will cause issues. # # ${3} is the destination volume so that this works correctly # when being installed to volumes other than the current OS. <% begin %> <% require 'rubygems' %> <% rescue LoadError %> <% end %> <% require 'rake' %> # remove libdir <% Dir.chdir("lib") %> <% FileList["**/*"].select {|i| File.file?(i)}.each do |file| %> /bin/rm -Rf "${3}<%= @apple_libdir %>/<%=file%>" <% end %> # remove bin files <% Dir.chdir("../bin") %> <% FileList["**/*"].select {|i| File.file?(i)}.each do |file| %> /bin/rm -Rf "${3}<%= @apple_bindir %>/<%=file%>" <% end %> <% Dir.chdir("..") %> # remove old doc files /bin/rm -Rf "${3}<%= @apple_docdir %>/<%=@package_name%>"
Version data entries
27 entries across 27 versions & 2 rubygems