Commit bc971e61 authored by Vitaly Lipatov's avatar Vitaly Lipatov

tarball: add support for tgz unpack

parent 5ada4930
......@@ -65,6 +65,11 @@ copy_tarball_to_tar()
return
fi
if [ ! ${SNAME/.tgz/} = "$SNAME" ] ; then
gunzip -c "$SNAME" > "$TNAME"
return
fi
# FIXME: matchs with .tarNNN
if [ ! ${SNAME/.tar/} = "$SNAME" ] ; then
cp -fv "$SNAME" "$TNAME"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment