diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-12-31 07:11:49 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-12-31 07:11:49 (GMT) |
commit | 2ad72279df8491c64dec852c09198bfdbc220dcb (patch) | |
tree | 92bc4e2113e37c0d9bad1c331717b5afc6ab0095 /abs/extra-testing/mythappletrailers/mythappletrailers.install | |
parent | ea45a746dedb539dcf6848e264dd90a46d9678be (diff) | |
download | linhes_pkgbuild-2ad72279df8491c64dec852c09198bfdbc220dcb.zip linhes_pkgbuild-2ad72279df8491c64dec852c09198bfdbc220dcb.tar.gz linhes_pkgbuild-2ad72279df8491c64dec852c09198bfdbc220dcb.tar.bz2 |
Updated for 0.22.
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 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 "<!--#MythAppleTrailers-->" >> /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 } |