summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-theme/linhes-theme.install
blob: 4d844075a431246dffd03dbce2eafb2b7a65293a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}