HomeFreeBSD

framework: new USES trigger

Description

framework: new USES trigger

Triggers are a new feature from pkg 1.17 (stable in 1.17.2)
they are script that are executed at the end of a transaction if
anything triggered them.

To trigger them a files should have been installed in a location which
matches predefined pattern (glob, regexp, or exact matching)

When a package is installed in a cross root installation for example:
pkg -r XXX install something
and if it triggers a trigger, then the execution will be deferred.

The pkg trigger command will execute the deferred triggers

Reviewed by: tcberner
Differential Revision: https://reviews.freebsd.org/D31960

Details

Provenance
baptAuthored on Sep 14 2021, 3:24 PM
Reviewer
tcberner
Differential Revision
D31960: graphics/gtk-update-icon-cache: use triggers
Parents
R11:56bd13128865: security/nextcloud-twofactor_admin: Add new port
Branches
Unknown
Tags
Unknown