force create cache directories on app startup

This commit is contained in:
Andrew Dolgov 2023-10-22 10:22:47 +03:00
parent aec8cdd0c8
commit b0f96dbb5a
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ else
echo "warning: working copy in $DST_DIR won't be updated, make sure you know what you're doing." echo "warning: working copy in $DST_DIR won't be updated, make sure you know what you're doing."
fi fi
for d in cache lock feed-icons plugins.local themes.local; do for d in cache lock feed-icons plugins.local
themes.local templates.local cache/export cache/feeds cache/images cache/upload; do
sudo -u app mkdir -p $DST_DIR/$d sudo -u app mkdir -p $DST_DIR/$d
done done