diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-04-28 20:00:18 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-04-28 20:00:18 (GMT) |
commit | 0879f051b87c2f893ea718964e11f0dea9f187d7 (patch) | |
tree | f38bf26875ebbf43fc8b74c1c8dbe34b49074ef8 /abs/core/linhes-theme | |
parent | f43fb7eb0435ce694602709b22ae7bbdd6128457 (diff) | |
download | linhes_pkgbuild-0879f051b87c2f893ea718964e11f0dea9f187d7.zip linhes_pkgbuild-0879f051b87c2f893ea718964e11f0dea9f187d7.tar.gz linhes_pkgbuild-0879f051b87c2f893ea718964e11f0dea9f187d7.tar.bz2 |
linhes-theme: .install: update theme cache location for .28
Diffstat (limited to 'abs/core/linhes-theme')
-rwxr-xr-x | abs/core/linhes-theme/PKGBUILD | 4 | ||||
-rw-r--r-- | abs/core/linhes-theme/linhes-theme.install | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/abs/core/linhes-theme/PKGBUILD b/abs/core/linhes-theme/PKGBUILD index 1875a53..7b0506c 100755 --- a/abs/core/linhes-theme/PKGBUILD +++ b/abs/core/linhes-theme/PKGBUILD @@ -1,6 +1,6 @@ pkgname=linhes-theme pkgver=8.4 -pkgrel=6 +pkgrel=7 pkgdesc="Default LinHES MythTV theme" arch=('i686' 'x86_64') license=('GPL2') @@ -14,7 +14,7 @@ patches=('readme.txt.patch' 'osd.xml.patch' 'base.xml.patch' source=(`echo ${patches[@]:0}` 'themeinfo.xml' 'install-ui.xml' 'osd_subtitle.xml' 'bubble_background.png' 'preview.png' 'blank_coverart.png' 'LHLogo.png' 'LHLogoAndText.png') -install=($pkgname.install) +install=$pkgname.install prepare() { _gitroot="https://github.com/MythTV-Themes/TintedGlass.git" diff --git a/abs/core/linhes-theme/linhes-theme.install b/abs/core/linhes-theme/linhes-theme.install index c506cbe..98f6fe3 100644 --- a/abs/core/linhes-theme/linhes-theme.install +++ b/abs/core/linhes-theme/linhes-theme.install @@ -7,6 +7,12 @@ post_install() { /usr/bin/rm -rf $MYTHHOME/.mythtv/themecache/LinHES* killall mythfrontend fi + if /usr/bin/ls $MYTHHOME/.mythtv/cache/themecache/LinHES* 1> /dev/null 2>&1 + then + echo "Clearing themecache and quitting mythfrontend." + /usr/bin/rm -rf $MYTHHOME/.mythtv/cache/themecache/LinHES* + killall mythfrontend + fi } post_upgrade() { |