1.1 --- a/scripts/functions Sun Aug 14 17:51:38 2011 +0200
1.2 +++ b/scripts/functions Thu Aug 25 18:30:18 2011 +0200
1.3 @@ -403,6 +403,9 @@
1.4 if [ "${CT_CONFIGURE_has_xzutils}" = "y" ]; then
1.5 printf ".tar.xz\n"
1.6 fi
1.7 + if [ "${CT_CONFIGURE_has_lzma}" = "y" ]; then
1.8 + printf ".tar.lzma\n"
1.9 + fi
1.10 printf ".tar.bz2\n"
1.11 printf ".tar.gz\n.tgz\n"
1.12 printf ".tar\n"
1.13 @@ -757,6 +760,7 @@
1.14 tar_opts+=( "-xv" )
1.15 case "${ext}" in
1.16 .tar.xz) CT_DoExecLog FILE tar "${tar_opts[@]}" --use-compress-program=xz -f "${full_file}";;
1.17 + .tar.lzma) CT_DoExecLog FILE tar "${tar_opts[@]}" --use-compress-program=lzma -f "${full_file}";;
1.18 .tar.bz2) CT_DoExecLog FILE tar "${tar_opts[@]}" -j -f "${full_file}";;
1.19 .tar.gz|.tgz) CT_DoExecLog FILE tar "${tar_opts[@]}" -z -f "${full_file}";;
1.20 .tar) CT_DoExecLog FILE tar "${tar_opts[@]}" -f "${full_file}";;