bin/exx: +xpi
authorJan Kratochvil <jan@jankratochvil.net>
Wed, 30 Nov 2022 02:44:36 +0000 (10:44 +0800)
committerJan Kratochvil <jan@jankratochvil.net>
Wed, 30 Nov 2022 02:44:36 +0000 (10:44 +0800)
bin/exx

diff --git a/bin/exx b/bin/exx
index 97f021b..e8c941a 100755 (executable)
--- a/bin/exx
+++ b/bin/exx
@@ -14,6 +14,7 @@ use constant FORMATS=>{
        "rpm"    =>'rpm2cpio $pathname|cpio -id --quiet',       #-v #FIXME: --sparse doesn't work, why?
        "zip"    =>'unzip -Lq $pathname',
        "jar"    =>'unzip -Lq $pathname',
+       "xpi"    =>'unzip -Lq $pathname',
        "a"      =>'ar x $pathname',
        "deb"    =>'ar x $pathname;'
                   .'for i in *.tar.gz;do j=`basename $i .tar.gz`;mkdir -p $j;cd $j;tar xzf ../$i;cd ..;rm -f $i;done',