mirror of
https://github.com/tteck/Proxmox.git
synced 2026-10-06 10:42:58 +00:00
Update bunkerweb.sh
tweak
This commit is contained in:
1 parent
7daad62fad
commit
e6b86f3d47
1 file changed
+3
@@ -60,8 +60,11 @@ RELEASE=$(curl -s https://api.github.com/repos/bunkerity/bunkerweb/releases/late
|
||||
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
|
||||
|
||||
msg_info "Updating ${APP} to ${RELEASE}"
|
||||
apt-get update
|
||||
apt-get install nginx -y
|
||||
apt-mark unhold bunkerweb
|
||||
apt-get install -y bunkerweb=${RELEASE}
|
||||
apt-mark hold bunkerweb
|
||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||
msg_ok "Updated ${APP} to ${RELEASE}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user