pkgbase: report error if files are installed multiple times
Files installed by `make installworld` should be installed only once. PR: 244596 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b6271cc0d0
commit
0e04dd3b66
@ -401,8 +401,7 @@ function Analysis_session(metalog, verbose, w_notagdirs)
|
|||||||
warn[#warn+1] = 'warning: ' .. dupmsg .. '\n'
|
warn[#warn+1] = 'warning: ' .. dupmsg .. '\n'
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
-- XXX downgrade to warning until instances in the tree are fixed (PR271178)
|
errs[#errs+1] = 'error: ' .. dupmsg .. '\n'
|
||||||
warn[#warn+1] = 'error: ' .. dupmsg .. '\n'
|
|
||||||
end
|
end
|
||||||
elseif not metalogrows_all_equal(rows, false, true) then
|
elseif not metalogrows_all_equal(rows, false, true) then
|
||||||
-- same filename (possibly different tags), different metadata, an error
|
-- same filename (possibly different tags), different metadata, an error
|
||||||
|
Loading…
Reference in New Issue
Block a user