diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 13b882b0f2..04ff119a4c 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -355,16 +355,10 @@ class Pathname end def install_info - unless self.symlink? - raise "Cannot install info entry for unbrewed info file '#{self}'" - end system '/usr/bin/install-info', '--quiet', self.to_s, (self.dirname+'dir').to_s end def uninstall_info - unless self.symlink? - raise "Cannot uninstall info entry for unbrewed info file '#{self}'" - end system '/usr/bin/install-info', '--delete', '--quiet', self.to_s, (self.dirname+'dir').to_s end