Skip to content

Fix warning of deprecate use of cp -n#33

Merged
ekohl merged 2 commits into
OpenVoxProject:mainfrom
lbetz:fix-log-warning
Apr 3, 2025
Merged

Fix warning of deprecate use of cp -n#33
ekohl merged 2 commits into
OpenVoxProject:mainfrom
lbetz:fix-log-warning

Conversation

@lbetz

@lbetz lbetz commented Apr 1, 2025

Copy link
Copy Markdown
Contributor

test -f "$TEMPLATES/$f" && cp -np "$TEMPLATES/$f" .

reports into log:
penvox_puppet.1.dikrnt7sb9k7@ds01 | cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead

@lbetz lbetz requested a review from a team as a code owner April 1, 2025 17:13
@lbetz lbetz requested a review from rwaffen April 1, 2025 17:16
@lbetz lbetz changed the title Fix warning of deprecete use of cp -n Fix warning of deprecate use of cp -n Apr 1, 2025
Comment thread openvoxserver/docker-entrypoint.d/20-use-templates-initially.sh Outdated
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
@lbetz lbetz requested a review from ekohl April 1, 2025 20:03

@ekohl ekohl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The manpage says this should be correct, but I didn't test this myself

@ekohl ekohl merged commit 79c7a0f into OpenVoxProject:main Apr 3, 2025
@rwaffen rwaffen added the enhancement New feature or request label Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants