[Bug 255670] Mk/Keywords/sample.ucl: Deleting any configuration files automatically is a bug

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Nov 2021 21:28:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255670

--- Comment #10 from Baptiste Daroussin <bapt@FreeBSD.org> ---
The problem is during upgrade the predeinstall script from old version of the
package is used at this time lua script has no way to be sure that the @sample
it also present in the futur version or the package to be install.

To do what you ask for, we would need to internalise this @sample into pkg
directly, or to somehow extend the lua API in a way I don't know yet.

(I would prefer extending the lua API :D)

-- 
You are receiving this mail because:
You are on the CC list for the bug.