summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable/mythvideo/mythvideo.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythtv/stable/mythvideo/mythvideo.install')
-rw-r--r--abs/core/mythtv/stable/mythvideo/mythvideo.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable/mythvideo/mythvideo.install b/abs/core/mythtv/stable/mythvideo/mythvideo.install
new file mode 100644
index 0000000..a06777d
--- /dev/null
+++ b/abs/core/mythtv/stable/mythvideo/mythvideo.install
@@ -0,0 +1,20 @@
+# arg 1: the new package version
+post_install() {
+ ln -s /myth/video /data/srv/httpd/htdocs/mythweb/data/video
+ ln -s /myth/video/.covers /data/srv/httpd/htdocs/mythweb/data/video_covers
+}
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ rm -fr /data/srv/httpd/htdocs/mythweb/data/video
+ rm -fr /data/srv/httpd/htdocs/mythweb/data/video_covers
+}
+
+op=$1
+shift
+$op $*