|
|
@ -62,7 +62,7 @@ msg_info "Updating ${APP}"
|
|
|
|
/opt/cronicle/bin/control.sh upgrade &>/dev/null
|
|
|
|
/opt/cronicle/bin/control.sh upgrade &>/dev/null
|
|
|
|
msg_ok "Updated ${APP}"
|
|
|
|
msg_ok "Updated ${APP}"
|
|
|
|
exit
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$UPD" == "2" ]; then
|
|
|
|
if [ "$UPD" == "2" ]; then
|
|
|
|
LATEST=$(curl -sL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
|
|
|
LATEST=$(curl -sL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
|
|
|
IP=$(hostname -I | awk '{print $1}')
|
|
|
|
IP=$(hostname -I | awk '{print $1}')
|
|
|
|