diff options
-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() { |