summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable/mythweb/mythweb.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythtv/stable/mythweb/mythweb.install')
-rw-r--r--abs/core/mythtv/stable/mythweb/mythweb.install11
1 files changed, 7 insertions, 4 deletions
diff --git a/abs/core/mythtv/stable/mythweb/mythweb.install b/abs/core/mythtv/stable/mythweb/mythweb.install
index 470cbd1..a2aa1bd 100644
--- a/abs/core/mythtv/stable/mythweb/mythweb.install
+++ b/abs/core/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 $*