# arg 1:  the new package version
post_install() {
  gen_is_xml.py
  chown mythtv.mythtv $MYTHHOME/.huludesktop
  echo "Set your screen width and height in ~/.huludesktop to avoid a segfault."
}
# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
    gen_is_xml.py
    echo "Set your screen width and height in ~/.huludesktop to avoid a segfault."
}
post_remove() {
    gen_is_xml.py
}
. /usr/MythVantage/bin/install_functions.sh
home_check

op=$1
shift
$op $*