Is there a way to run a shell script automatically when a package is installed? I want to try and make a custom icon package. I have the shell scripts safely installing and uninstalling the icon, but I’d like a nice way to trigger them.
Conversely, when someone disables or uninstalls the package, it would be nice to have it run the uninstall script. The other obvious way would to be implement these as commands.