aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorJack Nagel2014-12-09 01:22:55 -0500
committerJack Nagel2014-12-09 01:22:55 -0500
commit1a69ceaf7e22e9a6934f4b29cea94ffb5ded5147 (patch)
tree141e0b62cfda58c86fc869516edb2580774f1403 /Library/Homebrew/extend
parent30f346447c8404fcc0288b422a577f2a511773a5 (diff)
downloadbrew-1a69ceaf7e22e9a6934f4b29cea94ffb5ded5147.tar.bz2
Recognize rpm file magic
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/pathname.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index c57f38774..6e704a372 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -241,6 +241,7 @@ class Pathname
when /^Rar!/n then :rar
when /^7z\xBC\xAF\x27\x1C/n then :p7zip
when /^xar!/n then :xar
+ when /^\xed\xab\xee\xdb/n then :rpm
else
# This code so that bad-tarballs and zips produce good error messages
# when they don't unarchive properly.