diff --git a/ct/gitea-mirror.sh b/ct/gitea-mirror.sh index 96983d93..e0b122fe 100644 --- a/ct/gitea-mirror.sh +++ b/ct/gitea-mirror.sh @@ -46,10 +46,11 @@ function update_script() { ln -sf /opt/bun/bin/bun /usr/local/bin/bun ln -sf /opt/bun/bin/bun /usr/local/bin/bunx msg_ok "Installed Bun" - - msg_info "Updating and rebuilding ${APP} to v${RELEASE} (Patience)" + rm -rf /opt/gitea-mirror fetch_and_deploy_gh_release "arunavo4/gitea-mirror" + + msg_info "Updating and rebuilding ${APP} to v${RELEASE} (Patience)" cd /opt/gitea-mirror bun install bun run build