1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

keywords: sample: Add METALOG entries for new files

This depends on a new lua function in pkg, see
https://github.com/freebsd/pkg/pull/2553 .

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D53415
This commit is contained in:
Mark Johnston
2025-10-28 20:08:43 +00:00
parent 2f7d1719ad
commit 4523095338
+3
View File
@@ -47,6 +47,9 @@ post-install-lua: <<EOS
end
if not pkg.stat(target_file) then
pkg.copy(sample_file, target_file)
if pkg_metalog ~= nil and pkg.metalog_copy ~= nil then
pkg.metalog_copy(sample_file, target_file)
end
end
EOS