Oh, interesting. To be fair, I haven't looked at it for a while. Will
have to double check and see. Yeah, the way you do it is the way I used
to. At least for updates you only have to do the package, and not touch
the license.
This works for me doing our deploys. Pieced together from different
parts, and has a couple of checks in place if file is there. It needs a
little bit of cleanup, but I'm lazy if the script is working for me
haha. Just put your serial where the x's a...
If running from self service, it will run as root. So it will go in the
root users library folder. Any reason you don't just put it in system
library for all users? That's what I do.