Sfoglia il codice sorgente

Update pialert.sh

fix update
tteckster 1 anno fa
parent
commit
3d54b1dfbb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ct/pialert.sh

+ 1 - 1
ct/pialert.sh

@@ -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
 }