summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mythappletrailers/mythappletrailers.install
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2010-01-03 09:31:13 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2010-01-03 09:31:13 (GMT)
commit1bc00e917b6d425eebd674bcbd977468662b0888 (patch)
treeb433f52b95e973058fd6fdfaac6052763f259544 /abs/extra-testing/mythappletrailers/mythappletrailers.install
parent41379ca92b7d3806883a6e40cb487cff0c9b4ba0 (diff)
parent6d63c414bf8405d601fcb5ee90035b8ca8664e86 (diff)
downloadlinhes_pkgbuild-1bc00e917b6d425eebd674bcbd977468662b0888.zip
linhes_pkgbuild-1bc00e917b6d425eebd674bcbd977468662b0888.tar.gz
linhes_pkgbuild-1bc00e917b6d425eebd674bcbd977468662b0888.tar.bz2
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/mythappletrailers/mythappletrailers.install')
-rw-r--r--abs/extra-testing/mythappletrailers/mythappletrailers.install8
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
}