From: Jan Kratochvil Date: Wed, 30 Nov 2022 02:44:36 +0000 (+0800) Subject: bin/exx: +xpi X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=033ff4ba81a720e2ac4cafce49c81925444f2541 bin/exx: +xpi --- diff --git a/bin/exx b/bin/exx index 97f021b..e8c941a 100755 --- 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',