From ece7a9a6937a72c82ff65bf9f033837b40bf2e71 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 3 May 2009 15:22:35 -0700
Subject: Bumped version for new miro.install. Remove miro from is.xml upron
 package removal.

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

diff --git a/abs/extra-testing/miro/PKGBUILD b/abs/extra-testing/miro/PKGBUILD
index def9d6e..36d3347 100644
--- a/abs/extra-testing/miro/PKGBUILD
+++ b/abs/extra-testing/miro/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=miro
 pkgver=2.0.4
-pkgrel=4
+pkgrel=5
 pkgdesc="The free and open source internet TV platform"
 arch=('i686' 'x86_64')
 url="http://www.getmiro.com"
diff --git a/abs/extra-testing/miro/miro.install b/abs/extra-testing/miro/miro.install
index 0a7b047..bf1f3bc 100644
--- a/abs/extra-testing/miro/miro.install
+++ b/abs/extra-testing/miro/miro.install
@@ -36,13 +36,11 @@ post_install() {
   fi
 }
 
-post_upgrade() {
-  post_install $1
-}
-
 post_remove() {
 	update-desktop-database -q
 	rm -fr /home/mythtv/.miro /myth/video/Miro /myth/miro /myth/democracy
+	mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp
+	sed -e '/\#Miro/,/\#Miro/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml
 }
 
 op=$1
-- 
cgit v0.12

