summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-theme/linhes-theme.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-04-28 20:00:18 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-04-28 20:00:18 (GMT)
commit0879f051b87c2f893ea718964e11f0dea9f187d7 (patch)
treef38bf26875ebbf43fc8b74c1c8dbe34b49074ef8 /abs/core/linhes-theme/linhes-theme.install
parentf43fb7eb0435ce694602709b22ae7bbdd6128457 (diff)
downloadlinhes_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/linhes-theme.install')
-rw-r--r--abs/core/linhes-theme/linhes-theme.install6
1 files changed, 6 insertions, 0 deletions
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() {