// If someone upgrades his/her OS, warn him/her about upgrading this channel as
// well.

DPkg::Post-Invoke {
    "if [ `lsb_release -sr` ne `cat /usr/share/app-install-ORIGIN/version` ]; then 
        test -e /var/lib/update-notifier/user.d/ && cp /usr/share/app-install-data-ORIGIN/upgrade-notice /var/lib/update-notifier/user.d/
        echo "You upgraded your OS version. Please upgrade the app-install-data-ORIGIN package as well"
     fi"
}
