summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25/mythweb/mythweb.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-03 17:59:45 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-03 17:59:45 (GMT)
commit4be23d4482a7aec8820be8fa373bc8de5a0272b5 (patch)
tree453c78e84078cb6cfa3da1daa4906050aedb68a2 /abs/core/mythtv/stable-0.25/mythweb/mythweb.install
parent306d9e4bfa29faaa561d54df14a0533d034f9773 (diff)
downloadlinhes_pkgbuild-4be23d4482a7aec8820be8fa373bc8de5a0272b5.zip
linhes_pkgbuild-4be23d4482a7aec8820be8fa373bc8de5a0272b5.tar.gz
linhes_pkgbuild-4be23d4482a7aec8820be8fa373bc8de5a0272b5.tar.bz2
mythweb, mythexport,zoneminder, web_auth: convert packages to use gen_light_include.conf
refs #864 closes #864
Diffstat (limited to 'abs/core/mythtv/stable-0.25/mythweb/mythweb.install')
-rw-r--r--abs/core/mythtv/stable-0.25/mythweb/mythweb.install18
1 files changed, 2 insertions, 16 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythweb/mythweb.install b/abs/core/mythtv/stable-0.25/mythweb/mythweb.install
index f5abcea..0073499 100644
--- a/abs/core/mythtv/stable-0.25/mythweb/mythweb.install
+++ b/abs/core/mythtv/stable-0.25/mythweb/mythweb.install
@@ -1,13 +1,5 @@
post_install() {
- COUNT=`grep -c "mythweb.include" /etc/lighttpd/conf.include`
- if [ $COUNT == 0 ]
- then
- echo "==> Adding mythweb.include to conf.include"
- echo "include \"/etc/lighttpd/mythweb.include\"" >> /etc/lighttpd/conf.include
- fi
- echo
- echo "==> Forcing a re-read of lighttpd's configuration file."
- echo ""
+ gen_light_include.py
/sbin/sv hup /service/lighttpd
}
post_upgrade() {
@@ -16,13 +8,7 @@ post_upgrade() {
}
post_remove() {
- COUNT=`grep -c "mythweb.include" /etc/lighttpd/conf.include`
- if [ $COUNT -gt 0 ]
- then
- echo "==> Removing mythweb.include from conf.include"
- sed -i 's#include \"/etc/lighttpd/mythweb.include\"##' -i /etc/lighttpd/conf.include
- fi
-
+ gen_light_include.py
echo
echo "==> Forcing a re-read of lighttpd's configuration file."
echo ""