diff options
Diffstat (limited to 'abs/core-testing/mythtv/stable/mythvideo/mythvideo.install')
-rw-r--r-- | abs/core-testing/mythtv/stable/mythvideo/mythvideo.install | 19 |
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 $* |