post_install() {
update-desktop-database -q
echo "The jdk package is licensed software."
echo "You MUST read and agree to the license stored in"
echo "/usr/share/licenses/jdk/LICENSE before using it."
echo 'Please relogin to include jdk in your PATH'
}
post_upgrade() {
update-desktop-database -q
}
post_remove() {
update-desktop-database -q
}