summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-theme/linhes-theme.install
diff options
context:
space:
mode:
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() {