mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-28 09:33:13 +02:00
Update bunkerweb-install.sh
change the "hold" method
This commit is contained in:
parent
e6b86f3d47
commit
f64e8ef47b
@ -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 New Issue
Block a user