aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-04-14 21:31:03 -0500
committerJack Nagel2014-04-14 21:31:03 -0500
commit4738974a78a010bda35f7647e9160732cb82af92 (patch)
tree27c2295eaa88bed210b54764c952ed0bacfcbf82
parent63d0a5bf75a228e489db753f31a11778a46d6736 (diff)
downloadbrew-4738974a78a010bda35f7647e9160732cb82af92.tar.bz2
Remove overzealous exceptions
-rw-r--r--Library/Homebrew/extend/pathname.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 13b882b0f..04ff119a4 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