Gitea: Ensure to remove unused previous release
This commit is contained in:
parent
f66af4977d
commit
79ff7e0a5f
|
@ -85,6 +85,8 @@ if [ "${gitea_current_version}" != "${gitea_new_version}" ]; then
|
|||
else
|
||||
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Test version — The current version is up-to-date."
|
||||
rm --force -- "${gitea_new_version_file}"
|
||||
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Test version — Ensure to remove any previous and unused releases."
|
||||
find /usr/local/bin -type f -iname "gitea.to.upgrade*" -delete
|
||||
fi
|
||||
# }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue