exx: +tar.xz, +txz
[nethome.git] / bin / exx
diff --git a/bin/exx b/bin/exx
index 8321cf3..97f021b 100755 (executable)
--- a/bin/exx
+++ b/bin/exx
@@ -24,6 +24,8 @@ use constant FORMATS=>{
        "tar.bz2"=>do { $_=FORMAT_TAR; s/xf/xjf/; $_; },
        "tar.bz" =>"tar.bz2",
        "tbz"    =>"tar.bz",
+       "tar.xz" =>do { $_=FORMAT_TAR; s/xf/xJf/; $_; },
+       "txz"    =>do { $_=FORMAT_TAR; s/xf/xJf/; $_; },
        "msi"    =>'cabextract -q $pathname',
        };