Skip to content

Commit

Permalink
Fixes entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Argelbargel committed Mar 28, 2024
1 parent cf8518c commit 7ea0300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/entrypoint
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh
set -eu

if [ -d /tmp/certs ]; then
if [ -d /tmp/certs ] && [ "$(ls -A /tmp/certs/*)" ]; then
echo "Updating certificates"
cp /tmp/certs/* /usr/local/share/ca-certificates
update-ca-certificates
Expand Down

0 comments on commit 7ea0300

Please sign in to comment.