Ver Fonte

Update pialert.sh

update
tteckster há 1 ano atrás
pai
commit
97219fc7c2
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      ct/pialert.sh

+ 3 - 2
ct/pialert.sh

@@ -53,8 +53,9 @@ function default_settings() {
 function update_script() {
 header_info
 if [[ ! -d /opt/pialert ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
-msg_error "There is currently no update path available."
-exit
+msg_info "Updating $APP"
+update
+msg_ok "Updated $APP"
 }
 
 start