summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/myth2ipod/myth2ipod.install
diff options
context:
space:
mode:
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
}