|
|
|
@ -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 <<EOF >/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}"
|
|
|
|
|
|
|
|
|
|