We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ef0b28 commit f573d1fCopy full SHA for f573d1f
scripts/install.sh
@@ -442,7 +442,10 @@ main() {
442
binary_path="$(extract_archive "${archive_name}" "${tmp_dir}" "${platform}")"
443
444
# Copy binary to install directory
445
+ # Remove existing binary first to prevent errors related
446
+ # to swapping out a currently executing binary
447
log_info "Installing to ${install_dir}..."
448
+ rm -f "${install_dir}/${BINARY_NAME}"
449
cp "${binary_path}" "${install_dir}/${BINARY_NAME}"
450
451
# Verify installation
0 commit comments