post_install() { # Prevent a bug, where eclipse hangs without this. xulrunner --register-global >/dev/null 2>&1 xdg-icon-resource forceupdate --theme hicolor &> /dev/null } post_upgrade() { post_install $1 } post_remove() { xdg-icon-resource forceupdate --theme hicolor &> /dev/null }