data/viewcache is now cleared automatically (references #2384)

This commit is contained in:
Bernd Bestel
2025-01-13 18:08:20 +01:00
parent f4d5f21832
commit a734d1c3ae

View File

@@ -19,9 +19,6 @@ find ./data/backups/*.tgz -mtime +60 -type f -delete
echo Deleting everything except ./data and this script
rm -rf !(data|update.sh) > /dev/null
echo Emptying ./data/viewcache
rm -rf ./data/viewcache/* > /dev/null
echo Downloading latest release
rm -f ./grocy-latest.zip > /dev/null
wget $GROCY_RELEASE_URL -q --show-progress -O ./grocy-latest.zip > /dev/null