Update pialert.sh
update
This commit is contained in:
parent
fc8ddc3a7c
commit
97219fc7c2
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue