summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/myt2xvid3/myt2xvid3.install
diff options
context:
space:
mode:
authorBob Igo <bob@stormlogic.com>2009-08-10 20:10:01 (GMT)
committerBob Igo <bob@stormlogic.com>2009-08-10 20:10:01 (GMT)
commit986e758b1542d8d7562e15b54f2fd426d2bef74d (patch)
tree598d95edf28dab29e6e7dad61bb0927aab869c4c /abs/extra-testing/myt2xvid3/myt2xvid3.install
parent663db996f3495eda217079d9523ade4f2caf755c (diff)
downloadlinhes_pkgbuild-986e758b1542d8d7562e15b54f2fd426d2bef74d.zip
linhes_pkgbuild-986e758b1542d8d7562e15b54f2fd426d2bef74d.tar.gz
linhes_pkgbuild-986e758b1542d8d7562e15b54f2fd426d2bef74d.tar.bz2
Streamlined REPLACEME replacement, fixing a myt2xvid3 execution bit bug. Still some directory permission mismatches, but these are minor.
Diffstat (limited to 'abs/extra-testing/myt2xvid3/myt2xvid3.install')
-rwxr-xr-xabs/extra-testing/myt2xvid3/myt2xvid3.install3
1 files changed, 1 insertions, 2 deletions
diff --git a/abs/extra-testing/myt2xvid3/myt2xvid3.install b/abs/extra-testing/myt2xvid3/myt2xvid3.install
index a27a885..b3767f3 100755
--- a/abs/extra-testing/myt2xvid3/myt2xvid3.install
+++ b/abs/extra-testing/myt2xvid3/myt2xvid3.install
@@ -16,8 +16,7 @@ post_install() {
. /etc/systemconfig
ln -s /myth/video/archive /data/srv/httpd/htdocs/archive
ln -s /myth/video/archive/archive.php /myth/video/archive/index.php
- mv /usr/bin/myt2xvid3 /tmp
- sed -e "s/REPLACEME/$HOSTNAME/g" /tmp/myt2xvid3 > /usr/bin/myt2xvid3
+ sed -i -e "s/REPLACEME/$HOSTNAME/g" /usr/bin/myt2xvid3
chown -R mythtv:http /myth/video/archive
/usr/bin/myt2xvid3 -rebuild
}