[cmd_import_tracks] 7z now assumes yes to all queries

This commit is contained in:
ayakael 2018-05-18 18:08:33 -07:00
parent 3d33cf8f50
commit e9ce16a622
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -19,7 +19,7 @@ cmd_import_tracks() {
for src in ${srcList}; do
if iszip ${src}; then
_msg EXEC "Uncompressing ${archive}"
7z x "${src}" -o"${_OPT_TMP}/${src}/" >${STDERR} 2>&1
7z x "${src}" -o"${_OPT_TMP}/${src}/" -y >${STDERR} 2>&1
local EXIT=$?
[[ ${EXIT} -eq 0 ]] && { _msg OK; local src="${_OPT_TMP}/${src}"; } || _msg WARN
fi