Remove overzealous exceptions

This commit is contained in:
Jack Nagel 2014-04-14 21:31:03 -05:00
parent 63d0a5bf75
commit 4738974a78

View File

@ -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