[cmd_import_tracks] 7z now assumes yes to all queries
This commit is contained in:
parent
3d33cf8f50
commit
e9ce16a622
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ cmd_import_tracks() {
|
||||||
for src in ${srcList}; do
|
for src in ${srcList}; do
|
||||||
if iszip ${src}; then
|
if iszip ${src}; then
|
||||||
_msg EXEC "Uncompressing ${archive}"
|
_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=$?
|
local EXIT=$?
|
||||||
[[ ${EXIT} -eq 0 ]] && { _msg OK; local src="${_OPT_TMP}/${src}"; } || _msg WARN
|
[[ ${EXIT} -eq 0 ]] && { _msg OK; local src="${_OPT_TMP}/${src}"; } || _msg WARN
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue