From: Andrew Dolgov Date: Mon, 23 Jan 2012 06:45:11 +0000 (+0400) Subject: deb: create export and image cache directories (closes #418) X-Git-Tag: 1.5.10~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=231edb82875e4a577004fc6d8995783555dcee41;p=tt-rss.git deb: create export and image cache directories (closes #418) --- 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)