#!/bin/sh -e
. /usr/share/debconf/confmodule

case "$1" in
    configure)

    db_get mythbuntu/repos
    if [ "$RET" = "true" ]; then
      /usr/bin/apt-add-repository -y ppa:mythbuntu/0.28
    fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

    *)
    echo "postinst called with unknown argument \`$1'" >&2

    exit 1
    ;;
esac

#DEBHELPER#


exit 0
