termux: overwrite on update
This commit is contained in:
@@ -34,6 +34,6 @@ esac
|
||||
|
||||
curl -fLo "${download_path}" "https://nightly.link/monosans/${project_name}/workflows/ci/main/${project_name}-${target}.zip"
|
||||
mkdir -p "${install_path}"
|
||||
unzip -qd "${install_path}" "${download_path}"
|
||||
unzip -qdo "${install_path}" "${download_path}"
|
||||
rm -f "${download_path}"
|
||||
printf "%s installed successfully.\nRun 'cd %s && ./%s'.\n" "${project_name}" "${install_path}" "${project_name}"
|
||||
|
||||
Reference in New Issue
Block a user