From 2ad72279df8491c64dec852c09198bfdbc220dcb Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Wed, 30 Dec 2009 23:11:49 -0800 Subject: Updated for 0.22. --- abs/extra-testing/mythappletrailers/PKGBUILD | 2 +- .../mythappletrailers/appletrailer.xml | 466 ++++++++------------- .../mythappletrailers/mythappletrailers.install | 8 +- 3 files changed, 181 insertions(+), 295 deletions(-) diff --git a/abs/extra-testing/mythappletrailers/PKGBUILD b/abs/extra-testing/mythappletrailers/PKGBUILD index 9c12971..bafbfda 100644 --- a/abs/extra-testing/mythappletrailers/PKGBUILD +++ b/abs/extra-testing/mythappletrailers/PKGBUILD @@ -3,7 +3,7 @@ pkgname=mythappletrailers pkgver=0.04.3 -pkgrel=35 +pkgrel=36 pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers." arch=('i686' 'x86_64') license=('GPL2') diff --git a/abs/extra-testing/mythappletrailers/appletrailer.xml b/abs/extra-testing/mythappletrailers/appletrailer.xml index dc0c938..ce89fd3 100644 --- a/abs/extra-testing/mythappletrailers/appletrailer.xml +++ b/abs/extra-testing/mythappletrailers/appletrailer.xml @@ -7,38 +7,20 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/abs/extra-testing/mythappletrailers/mythappletrailers.install b/abs/extra-testing/mythappletrailers/mythappletrailers.install index 0f6d8fa..3937d09 100644 --- a/abs/extra-testing/mythappletrailers/mythappletrailers.install +++ b/abs/extra-testing/mythappletrailers/mythappletrailers.install @@ -1,6 +1,6 @@ # arg 1: the new package version post_install() { - ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/appletrailer.xml + ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml mv /usr/share/mythtv/is.xml /tmp grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp echo "" >> /tmp/is.xml.tmp @@ -17,17 +17,17 @@ post_install() { # arg 1: the new package version # arg 2: the old package version post_upgrade() { - if [ -e /usr/share/mythtv/appletrailer.xml ] + if [ -e /usr/share/mythtv/themes/defaultmenu/appletrailer.xml ] then exit else - ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/appletrailer.xml + ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml fi } # arg 1: the old package version post_remove() { - rm -fr /usr/share/mythtv/appletrailer.xml + rm -fr /usr/share/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaulmenu/mythappletrailer.xml mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp sed -e '/\#MythAp/,/\#MythAp/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml } -- cgit v0.12