Commit 4b5e2a29 authored by Vitaly Lipatov's avatar Vitaly Lipatov

erc: use tar for tar creating

parent 0e0c8739
......@@ -59,8 +59,13 @@ create_archive()
# FIXME: get type by ext only
local type="$(get_archive_type "$arc")"
case "$type" in
tar)
#docmd $HAVE_7Z a -l $arc "$@"
docmd tar cvf $arc "$@"
;;
*)
docmd $HAVE_7Z a $arc "$@"
# TODO: fix symlinks support
docmd $HAVE_7Z a -l $arc "$@"
#fatal "Not yet supported creating of $type archives"
;;
esac
......
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