summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable/mythvideo/mythvideo.install
blob: a06777daa19dbc2dcc6366ac7e4e2bd4b311af61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 $*