aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/pathname.rb
diff options
context:
space:
mode:
authorMisty De Meo2015-04-26 11:11:33 -0700
committerMisty De Meo2015-04-26 11:11:56 -0700
commit0b5ab621a591d36338570ae8ee325150a48bb946 (patch)
treed2d04e3a8fcf9f87c45bf4fb8dc686a1afa20d1d /Library/Homebrew/extend/pathname.rb
parenteca29a8f83143114689e81a1e143c6ac753419ba (diff)
downloadhomebrew-0b5ab621a591d36338570ae8ee325150a48bb946.tar.bz2
Add support for extracting LHA archives
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 1e80e3e84..ee8d8c9f4 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -211,6 +211,8 @@ class Pathname
return :gzip_only
when ".bz2"
return :bzip2_only
+ when ".lha", ".lzh"
+ return :lha
end
# Get enough of the file to detect common file types