summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable/mythweb/mythweb.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-15 21:23:26 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-15 21:23:26 (GMT)
commita694d2e850545e12ebbbfdedfd54978e0b085ae2 (patch)
tree6ecd1f369595b5516505383166f752b4a2dba894 /abs/core-testing/mythtv/stable/mythweb/mythweb.install
parent0cb35af8f8e67e2d59dc39f9923e157f9ae6e3a7 (diff)
downloadlinhes_pkgbuild-a694d2e850545e12ebbbfdedfd54978e0b085ae2.zip
linhes_pkgbuild-a694d2e850545e12ebbbfdedfd54978e0b085ae2.tar.gz
linhes_pkgbuild-a694d2e850545e12ebbbfdedfd54978e0b085ae2.tar.bz2
mythweb: create link to /myth/video on install.
closes FS#227 the division by zero error was already fixed upstream
Diffstat (limited to 'abs/core-testing/mythtv/stable/mythweb/mythweb.install')
-rw-r--r--abs/core-testing/mythtv/stable/mythweb/mythweb.install11
1 files changed, 7 insertions, 4 deletions
diff --git a/abs/core-testing/mythtv/stable/mythweb/mythweb.install b/abs/core-testing/mythtv/stable/mythweb/mythweb.install
index 470cbd1..a2aa1bd 100644
--- a/abs/core-testing/mythtv/stable/mythweb/mythweb.install
+++ b/abs/core-testing/mythtv/stable/mythweb/mythweb.install
@@ -1,10 +1,13 @@
post_install() {
- echo "You must create a symlink from /home/httpd/html/mythweb/video_dir"
- echo "to your MythTV recordings directory. Don't forget to change the"
- echo "permissions so that the webserver can read those files and create"
- echo "thumbnails."
+ if [ ! -e /data/srv/httpd/htdocs/mythweb/data/video ]
+ then
+ ln -s /myth/video /data/srv/httpd/htdocs/mythweb/data/video
+ fi
}
+post_upgrade(){
+ post_install $1
+}
op=$1
shift
$op $*