Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster 3d54b1dfbb
Update pialert.sh
fix update
2023-10-19 08:08:46 -04:00
tteckster b2fc242e68
Update mqtt.sh
set new file path check
2023-10-19 04:36:55 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ function default_settings() {
function update_script() { function update_script() {
header_info 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" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null

View File

@ -53,7 +53,7 @@ function default_settings() {
function update_script() { function update_script() {
header_info header_info
if [[ ! -d /opt/pialert ]]; then msg_error "No ${APP} Installation Found!"; exit; fi 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" msg_ok "Updated $APP"
exit exit
} }