tools: See the contents, and get info about, debian archive files.

This commit is contained in:
Andrew Hamilton 2018-06-04 09:18:47 +10:00
parent 7c8a2e6129
commit 8ea5c5fd11
2 changed files with 15 additions and 1 deletions

View file

@ -24,6 +24,7 @@ tools_for_extensions = [
[["rar"], ["unrar"]],
[["7z"], ["7z"]],
[["xz"], ["unxz"]],
[["deb"], ["dpkg_contents", "dpkg_info"]],
[["a"], ["ar", "nm"]],
[["so"], ["nm"]],
[["png", "jpg", "gif", "bmp", "ppm", "tiff", "tga"], ["identify", "pil",
@ -107,6 +108,18 @@ tools_for_extensions = [
command = "unxz -l"
success_status = "normal"
[dpkg_contents]
dependencies = ["dpkg"]
url = "dpkg"
command = "dpkg -c"
success_status = "normal"
[dpkg_info]
dependencies = ["dpkg"]
url = "dpkg"
command = "dpkg -I"
success_status = "normal"
[ar]
dependencies = ["binutils"]
url = "https://en.wikipedia.org/wiki/Ar_(Unix)"