aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-09 01:22:55 -0500
committerJack Nagel2014-12-09 01:22:55 -0500
commit1ae280ebd3441a2157ba8e14dcc23af9a5998b26 (patch)
tree97255245f8d25667fd37d693172e48532ce7654f /Library
parent0c5cf5c4c1fa8ff4d6b26a40853f18d37871b331 (diff)
downloadhomebrew-1ae280ebd3441a2157ba8e14dcc23af9a5998b26.tar.bz2
Recognize rpm file magic
Diffstat (limited to 'Library')
-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.