mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
data/viewcache is now cleared automatically (references #2384)
This commit is contained in:
@@ -19,9 +19,6 @@ find ./data/backups/*.tgz -mtime +60 -type f -delete
|
|||||||
echo Deleting everything except ./data and this script
|
echo Deleting everything except ./data and this script
|
||||||
rm -rf !(data|update.sh) > /dev/null
|
rm -rf !(data|update.sh) > /dev/null
|
||||||
|
|
||||||
echo Emptying ./data/viewcache
|
|
||||||
rm -rf ./data/viewcache/* > /dev/null
|
|
||||||
|
|
||||||
echo Downloading latest release
|
echo Downloading latest release
|
||||||
rm -f ./grocy-latest.zip > /dev/null
|
rm -f ./grocy-latest.zip > /dev/null
|
||||||
wget $GROCY_RELEASE_URL -q --show-progress -O ./grocy-latest.zip > /dev/null
|
wget $GROCY_RELEASE_URL -q --show-progress -O ./grocy-latest.zip > /dev/null
|
||||||
|
Reference in New Issue
Block a user