From 74d0525e39d2bc14095b63c8efbb1e92d77d0db7 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 12 Jul 2010 15:03:39 -0500
Subject: mythstream: change is.xml location

---
 abs/core-testing/mythstream/PKGBUILD           | 3 ++-
 abs/core-testing/mythstream/mythstream.install | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/abs/core-testing/mythstream/PKGBUILD b/abs/core-testing/mythstream/PKGBUILD
index f848081..023bf01 100644
--- a/abs/core-testing/mythstream/PKGBUILD
+++ b/abs/core-testing/mythstream/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=mythstream
 pkgver=0.18_3
-pkgrel=7
+pkgrel=8
 pkgdesc="Unofficial MythTV plugin for Internet audio and video streams."
 arch=('i686' 'x86_64')
 url="http://home.kabelfoon.nl/~moongies/streamtuned.html"
@@ -31,6 +31,7 @@ build() {
    make INSTALL_ROOT=$startdir/pkg install
    cp $srcdir/streams.res $pkgdir/usr/share/mythtv/mythstream
 }
+
 md5sums=('ba354b83fefe6028c5379fb832a44b6a'
          '0131d9e05b55141357bc66e2a88a8132'
          'b7fb47a56b6809938f237632174faeb2')
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
-- 
cgit v0.12

