瀏覽代碼

Update pialert.sh

fix update
tteckster 1 年之前
父節點
當前提交
3d54b1dfbb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 }