[PATCH] d/postinst: added creation of /var/cache/cipux-cat-web
Per Carlson
pelle at hemmop.com
Tue Nov 9 12:46:44 UTC 2010
---
debian/postinst | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/debian/postinst b/debian/postinst
index 433842e..a631d74 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -20,6 +20,13 @@ case "$1" in
[ -f /etc/cipux-cat-web/cipux-cat-web.conf ] && \
chmod 640 /etc/cipux-cat-web/cipux-cat-web.conf
chown -R www-data:www-data /etc/cipux-cat-web
+ #
+ # added by pelle at hemmop.com
+ if [ ! -d /var/cache/cipux-cat-web ]; then
+ mkdir -p /var/cache/cipux-cat-web
+ fi
+ chown -R www-data:www-data /var/cache/cipux-cat-web
+ chmod 750 /var/cache/cipux-cat-web
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
--
1.7.2.3
--2oS5YaxWCcQjTEyO--
More information about the Cipux-devel
mailing list