From 9c1e9f9c00589c8fc56bc74fb12e07c7a6b931cb Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Sun, 3 May 2009 16:46:15 -0700 Subject: Should resolve the Miro crashes. --- abs/extra-testing/miro/PKGBUILD | 2 +- abs/extra-testing/miro/miro.install | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/abs/extra-testing/miro/PKGBUILD b/abs/extra-testing/miro/PKGBUILD index 6bc85ac..763d151 100644 --- a/abs/extra-testing/miro/PKGBUILD +++ b/abs/extra-testing/miro/PKGBUILD @@ -3,7 +3,7 @@ pkgname=miro pkgver=2.0.4 -pkgrel=6 +pkgrel=8 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 8bdb343..db52df4 100644 --- a/abs/extra-testing/miro/miro.install +++ b/abs/extra-testing/miro/miro.install @@ -1,13 +1,15 @@ # arg 1: the new package version post_install() { update-desktop-database -q + mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp + sed -e '/\#Miro/,/\#Miro/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml mv /usr/share/mythtv/is.xml /tmp grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp echo "" >> /tmp/is.xml.tmp echo " " >> /tmp/is.xml.tmp echo "" >> /tmp/is.xml.tmp echo "" >> /tmp/is.xml.tmp @@ -36,6 +38,10 @@ post_install() { fi } +post_update() { + post_install $1 +} + post_remove() { update-desktop-database -q rm -fr /home/mythtv/.miro /myth/video/Miro /myth/miro /myth/democracy -- cgit v0.12