summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable/mythvideo/mythvideo.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-04 07:33:30 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-04 07:33:30 (GMT)
commitde42bea0019cfba3a5681e19e35f22a338a0d7ad (patch)
treea6f217be9c61ff684070264f74765e9ccce6d76e /abs/core-testing/mythtv/stable/mythvideo/mythvideo.install
parentf3c7c6c3c3d93aff2ac4ccb9c5430ee7eb0faf81 (diff)
downloadlinhes_pkgbuild-de42bea0019cfba3a5681e19e35f22a338a0d7ad.zip
linhes_pkgbuild-de42bea0019cfba3a5681e19e35f22a338a0d7ad.tar.gz
linhes_pkgbuild-de42bea0019cfba3a5681e19e35f22a338a0d7ad.tar.bz2
Bumped version to include mythvideo.install which, creates symlinks for video dir in MythWeb.
Diffstat (limited to 'abs/core-testing/mythtv/stable/mythvideo/mythvideo.install')
-rw-r--r--abs/core-testing/mythtv/stable/mythvideo/mythvideo.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/core-testing/mythtv/stable/mythvideo/mythvideo.install b/abs/core-testing/mythtv/stable/mythvideo/mythvideo.install
new file mode 100644
index 0000000..177cc93
--- /dev/null
+++ b/abs/core-testing/mythtv/stable/mythvideo/mythvideo.install
@@ -0,0 +1,19 @@
+# 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() {
+#}
+
+# 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 $*