diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-03-16 12:58:08 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-03-16 12:58:08 (GMT) |
commit | de3a21c0408251a1eea6f22bb5fbf2930e9c9d4e (patch) | |
tree | 15606aaf2b8a8e6ea4bbdd8b02e3ff415f9ec042 /abs/core/mythtv/stable-0.28/mythweb/mythweb.install | |
parent | fdf037dbc9eb74a71eec0ed5f7f30cb9b11434f1 (diff) | |
download | linhes_pkgbuild-de3a21c0408251a1eea6f22bb5fbf2930e9c9d4e.zip linhes_pkgbuild-de3a21c0408251a1eea6f22bb5fbf2930e9c9d4e.tar.gz linhes_pkgbuild-de3a21c0408251a1eea6f22bb5fbf2930e9c9d4e.tar.bz2 |
mythtv: initial commit for 0.28
Diffstat (limited to 'abs/core/mythtv/stable-0.28/mythweb/mythweb.install')
-rw-r--r-- | abs/core/mythtv/stable-0.28/mythweb/mythweb.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.28/mythweb/mythweb.install b/abs/core/mythtv/stable-0.28/mythweb/mythweb.install new file mode 100644 index 0000000..b8e31a8 --- /dev/null +++ b/abs/core/mythtv/stable-0.28/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 +} |