BunkerWeb: fetch the installer from the release assets (#19310)

v1.6.19 no longer ships misc/install-bunkerweb.sh in the repository, so
every install since that release failed with a 404. The installer and its
sha256 are release assets (since 1.6.18); the checksum is verified.
This commit is contained in:
CanbiZ (MickLesk) authored and GitHub committed 2026-12-05 15:32:42 +01:00
1 parent 8c9273c207
commit 2d26b6e0d4
1 file changed
+5 -2
+5 -2
View File
@@ -20,9 +20,12 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
RELEASE=$(get_latest_github_release "bunkerity/bunkerweb")
confirm_external_installer "install-bunkerweb.sh" "https://github.com/bunkerity/bunkerweb/raw/v${RELEASE}/misc/install-bunkerweb.sh"
INSTALLER_URL="https://github.com/bunkerity/bunkerweb/releases/download/v${RELEASE}/install-bunkerweb.sh"
confirm_external_installer "install-bunkerweb.sh" "$INSTALLER_URL"
msg_info "Installing BunkerWeb (Patience)"
curl -fsSL -o install-bunkerweb.sh "https://github.com/bunkerity/bunkerweb/raw/v${RELEASE}/misc/install-bunkerweb.sh"
curl -fsSL -o install-bunkerweb.sh "$INSTALLER_URL"
curl -fsSL -o install-bunkerweb.sh.sha256 "${INSTALLER_URL}.sha256"
$STD sha256sum -c install-bunkerweb.sh.sha256
chmod +x install-bunkerweb.sh
$STD ./install-bunkerweb.sh --yes
$STD apt-mark unhold bunkerweb nginx