This commit is contained in:
2022-01-14 01:34:25 -05:00
parent cca9865f06
commit 199cd9b90b

View File

@@ -776,9 +776,9 @@ symlinkCerts() {
if [[ ! -f /etc/ssl/certs/ca-certificates.crt && if [[ ! -f /etc/ssl/certs/ca-certificates.crt &&
-f /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ]]; then -f /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ]]; then
ln_cmd="ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/ssl/certs/ca-certificates.crt" ln_cmd="sudo ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/ssl/certs/ca-certificates.crt"
debug "$ln_cmd" || ln_cmd+=" &>/dev/null" debug "$ln_cmd" || ln_cmd+=" &>/dev/null"
if ! sudo exec "$ln_cmd"; then if ! exec "$ln_cmd"; then
err "Symlinking certificates failed" err "Symlinking certificates failed"
return 1 return 1
fi fi