Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

lib/oe/unpack.py: unpack rar archives

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
  • Loading branch information...
commit b527db80252906ff0c7c01b3b3438de2e48e0766 1 parent 063c182
@opendreambox opendreambox authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/oe/unpack.py
View
2  lib/oe/unpack.py
@@ -96,6 +96,8 @@ def unpack_file(file, destdir, parameters, env=None):
if dos:
cmd = '%s -a' % cmd
cmd = "%s '%s'" % (cmd, file)
+ elif file.endswith('.rar'):
+ cmd = 'unrar x %s' % file
if not unpack or not cmd:
if os.path.isdir(file):
Please sign in to comment.
Something went wrong with that request. Please try again.