From 4a1ccb5d3dea601ef8d97d1719605d0b05a683cf Mon Sep 17 00:00:00 2001 From: Scorpoon <22363852+Scorpoon@users.noreply.github.com> Date: Sat, 4 May 2024 13:10:28 +0200 Subject: [PATCH] Write version into Homepage_version.txt file after update (#2908) --- ct/homepage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/homepage.sh b/ct/homepage.sh index dca0e9c4..54efa660 100644 --- a/ct/homepage.sh +++ b/ct/homepage.sh @@ -76,6 +76,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP} pnpm install pnpm build systemctl start homepage + echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated Homepage to v${RELEASE}" else msg_ok "No update required. ${APP} is already at ${RELEASE}"