|
@@ -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."
|
|
|
|
-exit
|
|
|
|
|
|
+msg_info "Updating $APP"
|
|
|
|
+update
|
|
|
|
+msg_ok "Updated $APP"
|
|
}
|
|
}
|
|
|
|
|
|
start
|
|
start
|