summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/myth2ipod/myth2ipod.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/myth2ipod/myth2ipod.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/myth2ipod/myth2ipod.install')
-rwxr-xr-xabs/extra-testing/myth2ipod/myth2ipod.install3
1 files changed, 1 insertions, 2 deletions
diff --git a/abs/extra-testing/myth2ipod/myth2ipod.install b/abs/extra-testing/myth2ipod/myth2ipod.install
index 74f1eec..367d90f 100755
--- a/abs/extra-testing/myth2ipod/myth2ipod.install
+++ b/abs/extra-testing/myth2ipod/myth2ipod.install
@@ -16,8 +16,7 @@ post_install() {
. /etc/systemconfig
ln -s /myth/ipodfeed /data/srv/httpd/htdocs/ipodfeed
ln -s /myth/ipodfeed/m2iweb.php /myth/ipodfeed/index.php
- cp /usr/bin/myth2ipod /tmp
- sed -e "s/REPLACEME/$hostname/g" /tmp/myth2ipod > /usr/bin/myth2ipod
+ sed -i -e "s/REPLACEME/$hostname/g" /usr/bin/myth2ipod
chown -R mythtv:http /myth/ipodfeed
/usr/bin/myth2ipod -rebuild
}