Commit 6ddf7724 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#181] create the cache dir at install time

parent abbdf226
......@@ -21,6 +21,12 @@ set -e
case "$1" in
configure)
id ravada 2> /dev/null || useradd --system ravada
if [ ! -e /var/www/cache ]; then
mkdir /var/www/cache
fi
chown ravada /var/www/cache
chgrp ravada /var/www/cache
chmod ug+rwx /var/www/cache
;;
abort-upgrade|abort-remove|abort-deconfigure)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment