Update bunkerweb-install.sh
change the "hold" method
This commit is contained in:
parent
e6b86f3d47
commit
f64e8ef47b
1 changed files with 5 additions and 1 deletions
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue