summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/myt2xvid3/myt2xvid3.install
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2009-08-01 23:57:05 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2009-08-01 23:57:05 (GMT)
commit657aa7b8d352108a98719a22e6422b490e598d26 (patch)
treeb2259685fe6409f86d814a1703068ce0fcf0ace8 /abs/extra-testing/myt2xvid3/myt2xvid3.install
parent3f300e50406f82e3fde4f48dd7c14fa79cbcd99a (diff)
parent61344e5f8def4236eadfb43c1efd30bc65c21394 (diff)
downloadlinhes_pkgbuild-657aa7b8d352108a98719a22e6422b490e598d26.zip
linhes_pkgbuild-657aa7b8d352108a98719a22e6422b490e598d26.tar.gz
linhes_pkgbuild-657aa7b8d352108a98719a22e6422b490e598d26.tar.bz2
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
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