diff --git a/ct/ownfoil.sh b/ct/ownfoil.sh index 8a1750bfb..ec0182898 100644 --- a/ct/ownfoil.sh +++ b/ct/ownfoil.sh @@ -29,15 +29,15 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - - if check_for_gh_release "ownfoil" "a1ex4/ownfoil"; then + RELEASE="2.3.0" + if check_for_gh_release "ownfoil" "a1ex4/ownfoil" "${RELEASE}" "pinned until 2.4.0 (coming soon) is tested, possible Breaking Changes."; then msg_info "Stopping Service" systemctl stop ownfoil msg_ok "Stopped Service" create_backup /opt/ownfoil/app/config - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" "${RELEASE}" restore_backup