mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-31 04:50:14 +00:00
Update msg_info
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
This commit is contained in:
parent
9757d070cb
commit
fc259af31c
@ -61,7 +61,7 @@ if [[ ! -d /opt/hoarder ]]; then msg_error "No ${APP} Installation Found!"; exit
|
|||||||
RELEASE=$(curl -s https://api.github.com/repos/hoarder-app/hoarder/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -s https://api.github.com/repos/hoarder-app/hoarder/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
PREV_VERSION=$(cat /opt/${APP}_version.txt)
|
PREV_VERSION=$(cat /opt/${APP}_version.txt)
|
||||||
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "${PREV_VERSION}" ]]; then
|
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "${PREV_VERSION}" ]]; then
|
||||||
msg_info "Stopping ${APP} Services"
|
msg_info "Stopping Services"
|
||||||
systemctl stop hoarder-web hoarder-workers hoarder-browser
|
systemctl stop hoarder-web hoarder-workers hoarder-browser
|
||||||
msg_ok "Stopped Services"
|
msg_ok "Stopped Services"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user