Commits

Adam Števko committed 4f7325f Draft

3239 userland-unpack does not handle xz archive

  • Participants
  • Parent commits a0f96ed

Comments (0)

Files changed (1)

tools/userland-unpack

 		uncompress = "/usr/bin/uncompress -c"
 	elif (re.search("(\.7z)$", filename) != None):
 		uncompress = "/usr/bin/7z --s"
+	elif (re.search("(\.xz)$", filename) != None):
+			uncompress = "/usr/bin/xz -dc"
 	elif (re.search("(\.zip)$", filename) != None):
 		uncompress = "/usr/bin/unzip -qo"