From 19fdd11c13dc0689f2e217bb1d46d86d52b3f148 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 2 Jul 2026 08:34:11 +0200 Subject: [PATCH] Refactor rackula-install.sh to streamline installation Removed checks for security headers config file and adjusted installation steps for Bun and Rackula. --- install/rackula-install.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/install/rackula-install.sh b/install/rackula-install.sh index b7c4b0a0d..ff4046526 100755 --- a/install/rackula-install.sh +++ b/install/rackula-install.sh @@ -18,9 +18,6 @@ $STD apt install -y nginx msg_ok "Installed Dependencies" msg_info "Installing Bun" -ensure_dependencies unzip ca-certificates -# rackula-api.service ships with ProtectHome=true, so the bun binary must live -# outside /root; /opt/bun matches yubal and gitea-mirror export BUN_INSTALL="/opt/bun" curl -fsSL https://bun.sh/install | $STD bash ln -sf /opt/bun/bin/bun /usr/local/bin/bun @@ -30,14 +27,8 @@ fetch_and_deploy_gh_release "rackula" "RackulaLives/Rackula" "prebuild" "latest" msg_info "Setting up Rackula" mkdir -p /opt/rackula/data /etc/nginx/snippets - SECURITY_HEADERS_SRC="/opt/rackula/config/security-headers.conf" -if [ ! -f "$SECURITY_HEADERS_SRC" ]; then - msg_error "Required config file missing: $SECURITY_HEADERS_SRC (release may be incomplete)" - exit 1 -fi cp "$SECURITY_HEADERS_SRC" /etc/nginx/snippets/security-headers.conf - chown -R root:root /opt/rackula/frontend find /opt/rackula/frontend -type d -exec chmod 755 {} \; find /opt/rackula/frontend -type f -exec chmod 644 {} \;