Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set (#333)

* Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set

* Update calibre-web.sh

* Update cockpit.sh

* Update cronicle.sh

* Update homeassistant-core.sh

* Update podman-homeassistant.sh

* Update node-red.sh

* Update plex.sh

* Update wallos.sh

* Revert "Update wallos.sh"

This reverts commit ea6311e190.

* Update homeassistant.sh

* Update ct/cronicle.sh

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

---------

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
This commit is contained in:
CanbiZ
2024-11-18 21:09:10 +01:00
committed by GitHub
parent d84cf6ef0e
commit ad18c05686
172 changed files with 356 additions and 135 deletions

View File

@@ -65,7 +65,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
msg_info "Updating ${APP} to ${RELEASE}"
cd /opt
mv /opt/linkwarden /opt/linkwarden_bak
mv /opt/linkwarden/.env /opt/.env
RELEASE=$(curl -s https://api.github.com/repos/linkwarden/linkwarden/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
wget -q "https://github.com/linkwarden/linkwarden/archive/refs/tags/${RELEASE}.zip"
unzip -q ${RELEASE}.zip
@@ -74,7 +74,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
yarn &>/dev/null
npx playwright install-deps &>/dev/null
yarn playwright install &>/dev/null
cp /opt/linkwarden_bak/.env /opt/linkwarden/.env
cp /opt/.env /opt/linkwarden/.env
yarn build &>/dev/null
yarn prisma migrate deploy &>/dev/null
echo "${RELEASE}" >/opt/${APP}_version.txt