This commit is contained in:
MickLesk
2026-06-26 21:14:11 +02:00
parent 1466b3c76e
commit f4e1090bd0
+2 -4
View File
@@ -42,6 +42,8 @@ function update_script() {
msg_info "Installing Bun"
export BUN_INSTALL="/root/.bun"
curl -fsSL https://bun.sh/install | $STD bash
ln -sf /root/.bun/bin/bun /usr/local/bin/bun
ln -sf /root/.bun/bin/bunx /usr/local/bin/bunx
msg_ok "Installed Bun"
fi
@@ -52,10 +54,6 @@ function update_script() {
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "degoog" "fccview/degoog" "prebuild" "latest" "/opt/degoog" "degoog_*_prebuild.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"
# CLEAN_INSTALL wipes /usr/local/bin, so re-create the Bun symlinks afterwards
ln -sf /root/.bun/bin/bun /usr/local/bin/bun
ln -sf /root/.bun/bin/bunx /usr/local/bin/bunx
restore_backup
if [[ -f /opt/degoog/.env ]]; then