Removed version check as fetch_and_deploy_gh_release already does that

This commit is contained in:
Andrej Kocijan 2025-08-22 17:54:48 +02:00
parent 982b222128
commit 414e22416e
No known key found for this signature in database

View File

@ -28,8 +28,6 @@ function update_script() {
exit
fi
RELEASE=$(curl -s https://api.github.com/repos/redlib-org/redlib/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ "${RELEASE}" != "$(cat ~/.redlib 2>/dev/null)" ]] || [[ ! -f ~/.redlib ]]; then
msg_info "Updating Alpine Packages"
$STD apk -U upgrade
msg_ok "Updated Alpine Packages"
@ -45,9 +43,6 @@ function update_script() {
msg_ok "Started ${APP} Service"
msg_ok "Update Successful"
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"
fi
exit
}