summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-07-12 20:13:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-07-12 20:13:27 (GMT)
commitc227e8cb56f552c695f4319e700c309a8003ba0e (patch)
tree54d7b1fe011315adb7d13030e5a98c60c94286ef /abs
parent74d0525e39d2bc14095b63c8efbb1e92d77d0db7 (diff)
downloadlinhes_pkgbuild-c227e8cb56f552c695f4319e700c309a8003ba0e.zip
linhes_pkgbuild-c227e8cb56f552c695f4319e700c309a8003ba0e.tar.gz
linhes_pkgbuild-c227e8cb56f552c695f4319e700c309a8003ba0e.tar.bz2
mythappletrailers: change is.xml location
Diffstat (limited to 'abs')
-rw-r--r--abs/extra-testing/mythappletrailers/PKGBUILD2
-rw-r--r--abs/extra-testing/mythappletrailers/mythappletrailers.install8
2 files changed, 5 insertions, 5 deletions
diff --git a/abs/extra-testing/mythappletrailers/PKGBUILD b/abs/extra-testing/mythappletrailers/PKGBUILD
index c8399fc..2f36a4d 100644
--- a/abs/extra-testing/mythappletrailers/PKGBUILD
+++ b/abs/extra-testing/mythappletrailers/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mythappletrailers
pkgver=0.04.3
-pkgrel=40
+pkgrel=41
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/mythappletrailers.install b/abs/extra-testing/mythappletrailers/mythappletrailers.install
index 3937d09..96f6717 100644
--- a/abs/extra-testing/mythappletrailers/mythappletrailers.install
+++ b/abs/extra-testing/mythappletrailers/mythappletrailers.install
@@ -1,7 +1,7 @@
# arg 1: the new package version
post_install() {
ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml
- 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 "<!--#MythAppleTrailers-->" >> /tmp/is.xml.tmp
echo " <button>" >> /tmp/is.xml.tmp
@@ -12,7 +12,7 @@ post_install() {
echo "<!--#MythAppleTrailers-->" >> /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
}
# arg 1: the new package version
# arg 2: the old package version
@@ -28,8 +28,8 @@ post_upgrade() {
# arg 1: the old package version
post_remove() {
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
+ mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp/is.xml.tmp
+ sed -e '/\#MythAp/,/\#MythAp/d' < /tmp/is.xml.tmp > /usr/share/mythtv/themes/defaultmenu/is.xml
}
op=$1