Run a custom script after a package is installed

Does opkg provide support for custom actions to run after installing or upgrading a package? I.e. I install a package (or many) from LuCI or command line and the package manager invokes a script passing the name of the package. If not supported natively, is there another way to achieve this functionality?

You could hook into default_postinst() in /lib/