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 }