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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user