Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
6ddf7724
Commit
6ddf7724
authored
Sep 27, 2017
by
Francesc Guasch
Browse files
[#181] create the cache dir at install time
parent
abbdf226
Changes
1
Show whitespace changes
Inline
Side-by-side
debian/postinst
View file @
6ddf7724
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment