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() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -d /opt/pialert ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /opt/pialert ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_error "There is currently no update path available."
|
msg_info "Updating $APP"
|
||||||
exit
|
update
|
||||||
|
msg_ok "Updated $APP"
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|
Loading…
Reference in a new issue