Explorar el Código

Improve ssl cert symlinking

bryan hace 3 años
padre
commit
e850fedf8a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      installJRMC

+ 1 - 0
installJRMC

@@ -750,6 +750,7 @@ symlinkCerts() {
 
     [[ -f $target_cert ]] && return 0
 
+    # Have to use command array instead of eval because of whitespace in $mc_cert_link
     if [[ -f /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ]]; then
         ln_cmd=("sudo" "ln" "-fs" "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem" "$mc_cert_link") # For RHEL
     elif [[ -f /var/lib/ca-certificates/ca-bundle.pem ]]; then