diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/blobutil.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/blobutil.sh b/include/blobutil.sh index c9101c4f..324d19eb 100755 --- a/include/blobutil.sh +++ b/include/blobutil.sh @@ -83,6 +83,9 @@ fetch() rm -Rf "${dl_path}_extracted" || err "!rm ${dl_path}_extracted" mkdirs "${_dest}" "extract_${dl_type}" || return 0 eval "extract_${dl_type}" + + [ -f "${_dest}" ] && return 0 + err "extract_${dl_type} (fetch): missing file: '${_dest}'" } vendor_checksum() |