diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-07-16 01:27:59 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-07-16 01:27:59 (GMT) |
commit | 677bbf9bc1a7b1e638c33d2683b367d3b0fd5159 (patch) | |
tree | d0a5c2f68206846798a0c4eebbdc48dddab0373c /abs/extra-testing/mythappletrailers/mythappletrailers.install | |
parent | 1520f89cb8cad4eb6ba5685bdd5fb14470acf992 (diff) | |
parent | 494d57bcc659282c41e99606b0496163dcd9b35d (diff) | |
download | linhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.zip linhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.tar.gz linhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.tar.bz2 |
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/mythappletrailers/mythappletrailers.install')
-rw-r--r-- | abs/extra-testing/mythappletrailers/mythappletrailers.install | 8 |
1 files changed, 4 insertions, 4 deletions
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 |