From 1be64c1994115dab33b3cfc3ba530e3e3f2b9b99 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 26 Jun 2026 21:56:48 +0200 Subject: [PATCH] bun: correct install for degoog (#15412) * fix(degoog): restore bun symlinks after curl-impersonate update The curl-impersonate CLEAN_INSTALL wipes /usr/local/bin, which removed the bun/bunx symlinks during update. Re-create them after the release deploy. * clean install curl-impersonate * sorting --- ct/degoog.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/degoog.sh b/ct/degoog.sh index 97312acdb..8dfefbe9a 100644 --- a/ct/degoog.sh +++ b/ct/degoog.sh @@ -38,7 +38,7 @@ function update_script() { create_backup /opt/degoog/.env \ /opt/degoog/data - if ! command -v bun >/dev/null 2>&1; then + if [[ ! -x /root/.bun/bin/bun ]]; then msg_info "Installing Bun" export BUN_INSTALL="/root/.bun" curl -fsSL https://bun.sh/install | $STD bash @@ -52,7 +52,7 @@ function update_script() { msg_ok "Updated Valkey" CLEAN_INSTALL=1 fetch_and_deploy_gh_release "degoog" "fccview/degoog" "prebuild" "latest" "/opt/degoog" "degoog_*_prebuild.tar.gz" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "curl-impersonate" "lexiforest/curl-impersonate" "prebuild" "latest" "/usr/local/bin" "curl-impersonate-v*.$(uname -m)-linux-gnu.tar.gz" + fetch_and_deploy_gh_release "curl-impersonate" "lexiforest/curl-impersonate" "prebuild" "latest" "/usr/local/bin" "curl-impersonate-v*.$(uname -m)-linux-gnu.tar.gz" restore_backup