diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-01-30 15:48:09 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-01-30 15:48:09 (GMT) |
commit | fb52b64b5af9edfe83c361916a51c28d802b1d36 (patch) | |
tree | 7f6d8c693a47eb3ab348e45785c61a9199ee277e /abs/core/mythtv/stable-30/mythweb/mythweb.install | |
parent | 9b6c8730fe90c05fa38880963f4fea2ac7ab7391 (diff) | |
download | linhes_pkgbuild-fb52b64b5af9edfe83c361916a51c28d802b1d36.zip linhes_pkgbuild-fb52b64b5af9edfe83c361916a51c28d802b1d36.tar.gz linhes_pkgbuild-fb52b64b5af9edfe83c361916a51c28d802b1d36.tar.bz2 |
mythtv mythplugins mythweb: add fixes/30 branch. refs#1034
Diffstat (limited to 'abs/core/mythtv/stable-30/mythweb/mythweb.install')
-rw-r--r-- | abs/core/mythtv/stable-30/mythweb/mythweb.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-30/mythweb/mythweb.install b/abs/core/mythtv/stable-30/mythweb/mythweb.install new file mode 100644 index 0000000..b8e31a8 --- /dev/null +++ b/abs/core/mythtv/stable-30/mythweb/mythweb.install @@ -0,0 +1,22 @@ +post_install() { + echo "==> Setting mythweb permissions." + chmod -R 755 /data/srv/httpd/mythweb/ + chown mythtv:http /data/srv/httpd/mythweb/data/tv_icons + chmod -R 775 /data/srv/httpd/mythweb/{image_cache,php_sessions,data} + echo "==> Reading lighttpd's configuration file." + gen_light_include.py + echo "==> Restarting lighttpd." + /sbin/sv hup /service/lighttpd +} + +post_upgrade() { + post_install +} + +post_remove() { + gen_light_include.py + echo + echo "==> Forcing a re-read of lighttpd's configuration file." + echo "" + /sbin/sv hup /service/lighttpd +} |