git: 452309533805 - main - keywords: sample: Add METALOG entries for new files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Oct 2025 20:48:01 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=452309533805e8f4b7545f165c692cc37fe19b4c
commit 452309533805e8f4b7545f165c692cc37fe19b4c
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-10-28 20:08:43 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-10-29 20:47:29 +0000
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
---
Keywords/sample.ucl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Keywords/sample.ucl b/Keywords/sample.ucl
index 15437a472da4..d5d3dd83b269 100644
--- a/Keywords/sample.ucl
+++ b/Keywords/sample.ucl
@@ -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