Friday, June 27, 2014
Solaris pkgutil is not idempotent
Life would be easier if command line tools would never use exit code different than zero unless as a 'real' error pops up. The fact that I am trying to install again an existing package should not result in an 'error' but Solaris returns status 4 when running 'pkg install' with description "No updates necessary for this image.". You have no other option than handling this in a per package basis like I show below using a Plain Old Bash (POB) recipe:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment