madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://"]
  insteadOf = madduck:

Add 7z handling to container-extractor
authormartin f. krafft <>
Tue, 19 Apr 2022 17:51:49 +0000 (05:51 +1200)
committermartin f. krafft <>
Tue, 19 Apr 2022 17:52:00 +0000 (05:52 +1200)

index e8dec5231955f4e2d66df609c1aa618874f0137b..5296b7daf4923a3568602637e824291ec01301ed 100755 (executable)
@@ -27,6 +27,7 @@ cd "$TMPDIR"
 case "$1" in
   (application/ms-tnef)            tnef;;
   (application/x-zip-compressed)   unzip /dev/stdin;;
+  (application/x-7z-compressed)    z7 e /dev/stdin;;
   (application/zip)                unzip /dev/stdin;;
index a53b0920e230b3499bdcda2850f3e99a2663019c..80de38396e26f1d69b9c66480702794cbea577a5 100644 (file)
@@ -4,4 +4,5 @@
 application/ms-tnef; ~/.config/mutt/container-extractor '%t'; description=Microsoft NIH TNEF
 application/x-zip-compressed; ~/.config/mutt/container-extractor '%t'; description=Compressed ZIP files
+application/x-7z-compressed; ~/.config/mutt/container-extractor '%t'; description=Compressed ZIP files
 application/zip; ~/.config/mutt/container-extractor '%t'; description=Compressed ZIP files