Skip to content

Commit 26fde19

Browse files
committed
fix: cp: replace deprecated -n option
remove the warning message "behavior of -n is non-portable and may change in future; use --update=none instead"
1 parent e321dd0 commit 26fde19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openvoxserver/docker-entrypoint.d/20-use-templates-initially.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ TEMPLATES=/var/tmp/puppet
1010
cd /etc/puppetlabs/puppet
1111
for f in auth.conf hiera.yaml puppet.conf puppetdb.conf
1212
do
13-
test -f "$TEMPLATES/$f" && cp -np "$TEMPLATES/$f" .
13+
test -f "$TEMPLATES/$f" && cp -p --update=none "$TEMPLATES/$f" .
1414
done
1515
cd /
1616

0 commit comments

Comments
 (0)