From 231edb82875e4a577004fc6d8995783555dcee41 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 23 Jan 2012 10:45:11 +0400 Subject: [PATCH] deb: create export and image cache directories (closes #418) --- debian/tt-rss-common.postinst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/tt-rss-common.postinst b/debian/tt-rss-common.postinst index 15286c1f..9c18ebd0 100644 --- a/debian/tt-rss-common.postinst +++ b/debian/tt-rss-common.postinst @@ -33,6 +33,14 @@ case "$1" in install -d -m775 -gwww-data /var/cache/tt-rss/simplepie fi + if [ ! -d /var/cache/tt-rss/export ]; then + install -d -m775 -gwww-data /var/cache/tt-rss/export + fi + + if [ ! -d /var/cache/tt-rss/images ]; then + install -d -m775 -gwww-data /var/cache/tt-rss/images + fi + ;; abort-upgrade|abort-remove|abort-deconfigure) -- 2.39.5