summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/myt2xvid3/myt2xvid3.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-07-31 05:49:20 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-07-31 05:49:20 (GMT)
commitd93b37285e6ac8c52254e0dc550e0b798f490fbd (patch)
treee9c16e0afe379604ec412aeed595f85e53725ae2 /abs/extra-testing/myt2xvid3/myt2xvid3.install
parente0745cb76cc8eda2decea99ea693354cfd9980bf (diff)
downloadlinhes_pkgbuild-d93b37285e6ac8c52254e0dc550e0b798f490fbd.zip
linhes_pkgbuild-d93b37285e6ac8c52254e0dc550e0b798f490fbd.tar.gz
linhes_pkgbuild-d93b37285e6ac8c52254e0dc550e0b798f490fbd.tar.bz2
Myt2XviD3:Added archive.php to allow for the deletion of unwanted videos.
Diffstat (limited to 'abs/extra-testing/myt2xvid3/myt2xvid3.install')
-rwxr-xr-xabs/extra-testing/myt2xvid3/myt2xvid3.install10
1 files changed, 2 insertions, 8 deletions
diff --git a/abs/extra-testing/myt2xvid3/myt2xvid3.install b/abs/extra-testing/myt2xvid3/myt2xvid3.install
index abc4256..f363fa2 100755
--- a/abs/extra-testing/myt2xvid3/myt2xvid3.install
+++ b/abs/extra-testing/myt2xvid3/myt2xvid3.install
@@ -18,21 +18,15 @@ post_install() {
ln -s /myth/video/archive /data/srv/httpd/htdocs/archive
mv /usr/bin/myt2xvid3 /tmp
sed -e "s/REPLACEME/$HOSTNAME/g" /tmp/myt2xvid3 > /usr/bin/myt2xvid3
-
-
+ chown -R mythtv:http /myth/video/archive
}
post_upgrade() {
-
-
- mkdir /myth/video/archive
- chown mythtv:users /myth/video/archive
- ln -s /myth/video/archive /data/srv/httpd/htdocs/archive
/usr/bin/myth2xvid -rebuild
}
post_remove() {
- post_install
+ rm -fr /data/srv/http/htdocs/archive
}
op=$1