summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythstream/mythstream.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-07-12 20:03:39 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-07-12 20:03:39 (GMT)
commit74d0525e39d2bc14095b63c8efbb1e92d77d0db7 (patch)
tree63da3d59a7594cabb2ed4d360863b9eeb458b754 /abs/core-testing/mythstream/mythstream.install
parent4e5245eb6237a900e402c06d43fcf7718fe8d98a (diff)
downloadlinhes_pkgbuild-74d0525e39d2bc14095b63c8efbb1e92d77d0db7.zip
linhes_pkgbuild-74d0525e39d2bc14095b63c8efbb1e92d77d0db7.tar.gz
linhes_pkgbuild-74d0525e39d2bc14095b63c8efbb1e92d77d0db7.tar.bz2
mythstream: change is.xml location
Diffstat (limited to 'abs/core-testing/mythstream/mythstream.install')
-rw-r--r--abs/core-testing/mythstream/mythstream.install8
1 files changed, 4 insertions, 4 deletions
diff --git a/abs/core-testing/mythstream/mythstream.install b/abs/core-testing/mythstream/mythstream.install
index 5af96f2..3b87835 100644
--- a/abs/core-testing/mythstream/mythstream.install
+++ b/abs/core-testing/mythstream/mythstream.install
@@ -1,6 +1,6 @@
# arg 1: the new package version
post_install() {
- mv /usr/share/mythtv/is.xml /tmp
+ mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp
grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp
echo "<!--#MythStream-->" >> /tmp/is.xml.tmp
echo " <button>" >> /tmp/is.xml.tmp
@@ -11,11 +11,11 @@ post_install() {
echo "<!--#MythStream-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
echo "</mythmenu>" >> /tmp/is.xml.tmp
- mv /tmp/is.xml.tmp /usr/share/mythtv/is.xml
+ mv /tmp/is.xml.tmp /usr/share/mythtv/themes/defaultmenu/is.xml
}
post_remove() {
- mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp
- sed -e '/\#MythStream/,/\#MythStream/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml
+ mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp/is.xml.tmp
+ sed -e '/\#MythStream/,/\#MythStream/d' < /tmp/is.xml.tmp > /usr/share/mythtv/themes/defaultmenu/is.xml
}
op=$1