CT Linkwarden: Added update scripts

This commit is contained in:
2025-01-06 18:56:12 +01:00
parent 37cb093f30
commit 06de3b3c5b
4 changed files with 28 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
CurmonolithVersion=$(curl -s https://api.github.com/repos/Y2Z/monolith/releases/latest | grep 'tag_name.*' | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " " |tr -d : )
if test "$CurmonolithVersion" = "$(cat /opt/monolith-Version)" ; then
echo ' echo 'Updating Monolith'.sh up-to-date'
echo 'Monolith up-to-date'
exit
else
echo 'Updating Monolith'