State changes via pkg's scripts

Baptiste Daroussin bapt at FreeBSD.org
Wed Jul 8 07:23:54 UTC 2020


On Wed, Jul 08, 2020 at 04:32:34PM +1000, Dewayne Geraghty wrote:
> Is there a more convenient method to examine a package's scripts than
> unpacking the manifest file and
> # cat +MANIFEST | jq -rM '.scripts'
> ?  As I'd like to know what changes will, or have been applied.

pkg info --raw-format json -R yourpkg | jq -rM '.scripts'

So far noone added a better interface yet, it should not be difficult to add

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200708/575569dc/attachment.sig>


More information about the freebsd-ports mailing list