Library/Homebrew/cleaner.rb
# Clean the keg of formula @f
Clean the keg of formula @f
Clean the keg of formula @f
def clean
    ObserverPathnameExtension.reset_counts!
    observe_file_removal @f.lib/"charset.alias"
    [@f.bin, @f.sbin, @f.lib].each { |d| clean_dir(d) if d.exist? }
    info_dir_file = @f.info + "dir"
    if info_dir_file.file? && !@f.skip_clean?(info_dir_file)
      observe_file_removal info_dir_file
    end
    prune
  end
def clean ObserverPathnameExtension . reset_counts! observe_file_removal @f . lib / "charset.alias" [ @f . bin , @f . sbin , @f . lib ] . each { | d | clean_dir ( d ) if d . exist? } info_dir_file = @f . info + "dir" if info_dir_file . file? && ! @f . skip_clean? ( info_dir_file ) observe_file_removal info_dir_file end prune end
Clean the keg of formula @f
Clean the keg of formula @f
# Many formulae include 'lib/charset.alias', but it is not strictly needed # and will conflict if more than one formula provides it # Get rid of any info 'dir' files, so they don't conflict at the link stage