mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 21:46:44 +00:00
Overwrite the specified file when it already exists
This commit is contained in:
parent
6b807a8654
commit
163fcbeb2a
@ -81,7 +81,8 @@ RUN decide_arch() { \
|
||||
url="$(decide_url "${1}" "${2}")" ; \
|
||||
printf -- '%s\n' \
|
||||
"Building for arch: ${2}|${ARCH}, downloading ${arg1} from: ${url}, expecting ${arg1} SHA256: ${expected}" && \
|
||||
curl --disable -sSL --output "${file}" --dump-header - "${url}" && \
|
||||
rm -rf "${file}" && \
|
||||
curl --disable -SL --output "${file}" --clobber --dump-header - --no-progress-meter "${url}" && \
|
||||
verify_download "${expected}" "${file}" ; \
|
||||
} && \
|
||||
export ARCH="$(decide_arch)" && \
|
||||
|
Loading…
Reference in New Issue
Block a user