summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-theme/linhes-theme.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2022-12-26 06:11:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2022-12-26 06:11:26 (GMT)
commitdcdc5729ab08937ad382846d1e53140e8f93e86e (patch)
treebc142058dd558d6761f572fb7ec83288e1f30c99 /linhes/linhes-theme/linhes-theme.install
parenta14132fe3d1ec05b95ba9f695d8da502f5e653c9 (diff)
downloadlinhes_pkgbuild-dcdc5729ab08937ad382846d1e53140e8f93e86e.zip
linhes_pkgbuild-dcdc5729ab08937ad382846d1e53140e8f93e86e.tar.gz
linhes_pkgbuild-dcdc5729ab08937ad382846d1e53140e8f93e86e.tar.bz2
linhes-theme: updates for LH 9
Diffstat (limited to 'linhes/linhes-theme/linhes-theme.install')
-rw-r--r--linhes/linhes-theme/linhes-theme.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/linhes/linhes-theme/linhes-theme.install b/linhes/linhes-theme/linhes-theme.install
new file mode 100644
index 0000000..4d84407
--- /dev/null
+++ b/linhes/linhes-theme/linhes-theme.install
@@ -0,0 +1,19 @@
+post_install() {
+ MYTHHOME=`lh_home_check.sh`
+ if ls $MYTHHOME/.mythtv/themecache/LinHES* 1> /dev/null 2>&1
+ then
+ echo "Clearing themecache and quitting mythfrontend."
+ /rm -rf $MYTHHOME/.mythtv/themecache/LinHES*
+ killall mythfrontend
+ fi
+ if ls $MYTHHOME/.mythtv/cache/themecache/LinHES* 1> /dev/null 2>&1
+ then
+ echo "Clearing themecache and quitting mythfrontend."
+ rm -rf $MYTHHOME/.mythtv/cache/themecache/LinHES*
+ killall mythfrontend
+ fi
+}
+
+post_upgrade() {
+ post_install
+}