[vdr-plugin-restfulapi] 06/10: Create and chown /var/cache/vdr/plugins/restfulapi

Tobias Grimm tiber-guest at moszumanska.debian.org
Sat Feb 17 12:03:44 UTC 2018


This is an automated email from the git hooks/post-receive script.

tiber-guest pushed a commit to branch master
in repository vdr-plugin-restfulapi.

commit b91e638d5433a7af0b33e8951f01a07553f4ff69
Author: Tobias Grimm <git at e-tobi.net>
Date:   Sat Feb 17 12:30:18 2018 +0100

    Create and chown /var/cache/vdr/plugins/restfulapi
---
 debian/dirs     | 2 ++
 debian/postinst | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..5332008
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+var/lib/vdr/plugins/restfulapi/webapp
+var/cache/vdr/plugins/restfulapi
diff --git a/debian/postinst b/debian/postinst
index 556878a..79395bc 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -6,6 +6,7 @@ if [ "$1" = "configure" ]; then
 
     # Change owner of directory for temporary files
     chown -R vdr:vdr /var/lib/vdr/plugins/restfulapi || true
+    chown -R vdr:vdr /var/cache/vdr/plugins/restfulapi || true
 
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr-plugin-restfulapi.git



More information about the pkg-vdr-dvb-changes mailing list