Bläddra i källkod

Update pialert.sh

update
tteckster 1 år sedan
förälder
incheckning
97219fc7c2
1 ändrade filer med 3 tillägg och 2 borttagningar
  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