summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mythappletrailers/mythappletrailers.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-02 21:45:39 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-02 21:45:39 (GMT)
commitb129706da014f2be2cbaf15258ad7d4e49afb537 (patch)
treebd95110e55c6de05ea8d27708ff8e1b681af411d /abs/extra-testing/mythappletrailers/mythappletrailers.install
parentd2e0d7a0288bee1a760c4163c54a7c15703788da (diff)
downloadlinhes_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/mythappletrailers.install')
-rw-r--r--abs/extra-testing/mythappletrailers/mythappletrailers.install6
1 files changed, 6 insertions, 0 deletions
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