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

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."
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
done