diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-02 21:45:39 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-02 21:45:39 (GMT) |
commit | b129706da014f2be2cbaf15258ad7d4e49afb537 (patch) | |
tree | bd95110e55c6de05ea8d27708ff8e1b681af411d /abs/extra-testing/mythappletrailers | |
parent | d2e0d7a0288bee1a760c4163c54a7c15703788da (diff) | |
download | linhes_pkgbuild-b129706da014f2be2cbaf15258ad7d4e49afb537.zip linhes_pkgbuild-b129706da014f2be2cbaf15258ad7d4e49afb537.tar.gz linhes_pkgbuild-b129706da014f2be2cbaf15258ad7d4e49afb537.tar.bz2 |
Cleaned up mythappletrailer.install file.
Diffstat (limited to 'abs/extra-testing/mythappletrailers')
-rw-r--r-- | abs/extra-testing/mythappletrailers/PKGBUILD | 2 | ||||
-rw-r--r-- | abs/extra-testing/mythappletrailers/mythappletrailers.install | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/abs/extra-testing/mythappletrailers/PKGBUILD b/abs/extra-testing/mythappletrailers/PKGBUILD index 6541b25..ec4d701 100644 --- a/abs/extra-testing/mythappletrailers/PKGBUILD +++ b/abs/extra-testing/mythappletrailers/PKGBUILD @@ -3,7 +3,7 @@ pkgname=mythappletrailers pkgver=0.04.3 -pkgrel=10 +pkgrel=12 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 3c874f8..133390c 100644 --- a/abs/extra-testing/mythappletrailers/mythappletrailers.install +++ b/abs/extra-testing/mythappletrailers/mythappletrailers.install @@ -5,11 +5,17 @@ post_install() { # arg 1: the new package version # arg 2: the old package version post_upgrade() { + if [ -e /usr/share/mythtv/appletrailer.xml ] + then + exit + else ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/appletrailer.xml + fi } # arg 1: the old package version post_remove() { + rm -fr /usr/share/mythtv/appletrailer.xml } op=$1 |