From f64e8ef47b6153db164df71a3e162eab3b1e22d8 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 3 Jul 2024 10:22:46 -0400 Subject: [PATCH] Update bunkerweb-install.sh change the "hold" method --- install/bunkerweb-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install/bunkerweb-install.sh b/install/bunkerweb-install.sh index 20ccd2b4..a26cb424 100644 --- a/install/bunkerweb-install.sh +++ b/install/bunkerweb-install.sh @@ -35,7 +35,11 @@ msg_info "Installing BunkerWeb v${RELEASE}" export UI_WIZARD=1 curl -sSL https://packagecloud.io/install/repositories/bunkerity/bunkerweb/script.deb.sh | bash &>/dev/null $STD apt-get install -y bunkerweb=${RELEASE} -$STD apt-mark hold bunkerweb +cat </etc/apt/preferences.d/bunkerweb +Package: bunkerweb +Pin: version ${RELEASE} +Pin-Priority: 1001 +EOF echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed BunkerWeb v${RELEASE}"