I need to run a command to initialize environment for an application. This needs to happen just once when snap package is installed.
DEB packages provide post-install script that serves this and many other purposes like setting up application specific user accounts and such.
So, what is DEB's post-install script equivalent in snap packages?