mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-12-06 07:44:26 +01:00
BunkerWeb: fetch the installer from the release assets
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:
1 parent
0059ca1815
commit
437306819e
1 file changed
+5
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user