diff -r 409fe6b9ede2 -r 9cb3554bebeb scripts/functions --- a/scripts/functions Sun Aug 14 17:51:38 2011 +0200 +++ b/scripts/functions Thu Aug 25 18:30:18 2011 +0200 @@ -403,6 +403,9 @@ if [ "${CT_CONFIGURE_has_xzutils}" = "y" ]; then printf ".tar.xz\n" fi + if [ "${CT_CONFIGURE_has_lzma}" = "y" ]; then + printf ".tar.lzma\n" + fi printf ".tar.bz2\n" printf ".tar.gz\n.tgz\n" printf ".tar\n" @@ -757,6 +760,7 @@ tar_opts+=( "-xv" ) case "${ext}" in .tar.xz) CT_DoExecLog FILE tar "${tar_opts[@]}" --use-compress-program=xz -f "${full_file}";; + .tar.lzma) CT_DoExecLog FILE tar "${tar_opts[@]}" --use-compress-program=lzma -f "${full_file}";; .tar.bz2) CT_DoExecLog FILE tar "${tar_opts[@]}" -j -f "${full_file}";; .tar.gz|.tgz) CT_DoExecLog FILE tar "${tar_opts[@]}" -z -f "${full_file}";; .tar) CT_DoExecLog FILE tar "${tar_opts[@]}" -f "${full_file}";;