Skip to content

functions: show the "adding file"/"overwriting file" message only when the file is added

nl6720 requested to merge nl6720/mkinitcpio:move-add_file-message into master

If add_file encounters a symlink it offloads the file addition to add_symlink, and the link target to another add_file. The first "file" is never added as a regular file, so do not mention it in the verbose output. It will be mentioned by add_symlink.

Merge request reports