summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-theme/linhes-theme.install
blob: 98f6fe3e2b8c876d8c0aec4dbfc91b9a5504b2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
  . /usr/MythVantage/bin/install_functions.sh
  home_check
  if /usr/bin/ls $MYTHHOME/.mythtv/themecache/LinHES* 1> /dev/null 2>&1
  then
    echo "Clearing themecache and quitting mythfrontend."
    /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() {
  post_install
}