mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
a901f2a065
...
3d54b1dfbb
Author | SHA1 | Date |
---|---|---|
|
3d54b1dfbb | |
|
b2fc242e68 |
|
@ -52,7 +52,7 @@ function default_settings() {
|
|||
|
||||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
if [[ ! -f /etc/mosquitto/conf.d/default.conf ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
apt-get -y upgrade &>/dev/null
|
||||
|
|
|
@ -53,7 +53,7 @@ function default_settings() {
|
|||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -d /opt/pialert ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
update
|
||||
bash -c "$(wget -qLO - https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh)" -s --lxc
|
||||
msg_ok "Updated $APP"
|
||||
exit
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue