From 4738974a78a010bda35f7647e9160732cb82af92 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 14 Apr 2014 21:31:03 -0500 Subject: [PATCH] Remove overzealous exceptions --- Library/Homebrew/extend/pathname.rb | 6 ------ 1 file changed, 6 deletions(-) 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