From: short <> Date: Mon, 1 Mar 2004 23:14:21 +0000 (+0000) Subject: +'.jar' extraction rule. X-Git-Tag: bp_liverpm~32 X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=c7b8870c821f76d7a0e0173c26c52901b6cc6485 +'.jar' extraction rule. --- diff --git a/bin/exx b/bin/exx index 1c87db0..a37132d 100755 --- a/bin/exx +++ b/bin/exx @@ -13,6 +13,7 @@ use constant FORMAT_TAR=>'tar xf $pathname;i=`echo *`;echo "$i"|grep -q " " || t use constant FORMATS=>{ "rpm" =>'rpm2cpio $pathname|cpio -id --quiet', #-v #FIXME: --sparse doesn't work, why? "zip" =>'unzip -Lq $pathname', + "jar" =>'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',