Commits

Adam Števko committed 4f7325f

3239 userland-unpack does not handle xz archive

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"