Commit 2c974880 authored by Mikhail Tergoev's avatar Mikhail Tergoev Committed by Vitaly Lipatov

added assume Yes on all queries for unpack with 7z

parent f870dda5
......@@ -93,10 +93,10 @@ extract_archive()
# TODO: check if there is only one file?
# use subdir if there is no subdir in archive
TSUBDIR="$(basename "$arc" .$(echo $type | sed -e 's|^tar\.||') )"
docmd $HAVE_7Z x -so "$arc" | docmd $HAVE_7Z x -si -ttar
docmd $HAVE_7Z x -so "$arc" | docmd $HAVE_7Z x -y -si -ttar
;;
*)
docmd $HAVE_7Z x "$arc" "$@"
docmd $HAVE_7Z x -y "$arc" "$@"
#fatal "Not yet supported extracting 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