]> git.wh0rd.org Git - tt-rss.git/commitdiff
deb: create export and image cache directories (closes #418)
authorAndrew Dolgov <fox@fakecake.org>
Mon, 23 Jan 2012 06:45:11 +0000 (10:45 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Mon, 23 Jan 2012 06:45:11 +0000 (10:45 +0400)
debian/tt-rss-common.postinst

index 15286c1fa2efca32e12cd2519b6054cc30dbe065..9c18ebd0b5ec32041e5e94d57b55864b0c937810 100644 (file)
@@ -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)