diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-12-26 20:13:40 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-12-26 20:13:40 (GMT) |
commit | af515b99f692bcf1f0af57aabe8f7c1a950b32c5 (patch) | |
tree | d2cbd0bd7a159adac8ebc749e6c76d005ad4a42e /abs/core/mythtv/stable-0.27/mythweb/mythweb.install | |
parent | 45f667c9512475b4cb5c5290557dea854d056634 (diff) | |
parent | 816f6f419c662354f4224f8d82387fc27693b0fb (diff) | |
download | linhes_pkgbuild-af515b99f692bcf1f0af57aabe8f7c1a950b32c5.zip linhes_pkgbuild-af515b99f692bcf1f0af57aabe8f7c1a950b32c5.tar.gz linhes_pkgbuild-af515b99f692bcf1f0af57aabe8f7c1a950b32c5.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/mythtv/stable-0.27/mythweb/mythweb.install')
-rw-r--r-- | abs/core/mythtv/stable-0.27/mythweb/mythweb.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.27/mythweb/mythweb.install b/abs/core/mythtv/stable-0.27/mythweb/mythweb.install new file mode 100644 index 0000000..b8e31a8 --- /dev/null +++ b/abs/core/mythtv/stable-0.27/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 +} |