Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ace4ad34fa210f6fc3d2cfc2f7d7766f5e494872
commit ace4ad34fa210f6fc3d2cfc2f7d7766f5e494872 Author: James Buren <[email protected]> Date: Sun Apr 25 18:21:19 2010 -0500 util.sh * add support for xz and xz compressed tar archives to Fextract * fix lzma extraction support in Fextract diff --git a/source/include/util.sh b/source/include/util.sh index d9b8b7b..4c02ab0 100644 --- a/source/include/util.sh +++ b/source/include/util.sh @@ -1402,6 +1402,8 @@ Fextract() { cmd="tar $_F_extract_taropts --use-compress-program=bzip2 -xf $file" ;; *.tar.lzma) cmd="tar $_F_extract_taropts --use-compress-program=lzma -xf $file" ;; + *.tar.xz) + cmd="tar $_F_extract_taropts --use-compress-program=xz -xf $file" ;; *.tar) cmd="tar $_F_extract_taropts -xf $file" ;; *.zip|*.xpi) @@ -1416,7 +1418,9 @@ Fextract() { *.bz2) cmd="bunzip2 -f $file" ;; *.lzma) - cmd="lzma -f $file" ;; + cmd="unlzma -f $file" ;; + *.xz) + cmd="unxz -f $file" ;; *.7z) cmd="7z x $file" ;; *) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
