Skip to content

Commit 8472c77

Browse files
committed
Use stricter pattern for ca-certs and ca_certs
Signed-off-by: Anders F Björklund <[email protected]>
1 parent c370bfe commit 8472c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lima-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ fi
128128
LIMA_CA_CERTS=/usr/share/ca-certificates/lima-init-ca-certs.crt
129129
awk -f- "${LIMA_CIDATA_MNT}"/user-data <<'EOF' > ${LIMA_CA_CERTS}
130130
# Lima currently uses "ca-certs", which is deprecated and should be "ca_certs"
131-
/^ca.certs:/ {
131+
/^ca[-_]certs:/ {
132132
cacerts = 1
133133
next
134134
}

0 commit comments

Comments
 (0)