Browse Source

url-lib: ca-bundle.crt changed to a symlink

use inst() instead of inst_simple()

/etc/pki/tls/certs/ca-bundle.crt is a symlink to
../../ca-trust/extracted/pem/tls-ca-bundle.pem

with inst() we install the original file also.

https://bugzilla.redhat.com/show_bug.cgi?id=1341280
Harald Hoyer 9 years ago
parent
commit
1b23c6c65c
  1. 2
      modules.d/45url-lib/module-setup.sh

2
modules.d/45url-lib/module-setup.sh

@ -28,7 +28,7 @@ install() {
_crt=$(grep -F --binary-files=text -z .crt $_lib) _crt=$(grep -F --binary-files=text -z .crt $_lib)
[[ $_crt ]] || continue [[ $_crt ]] || continue
[[ $_crt == /*/* ]] || continue [[ $_crt == /*/* ]] || continue
if ! inst_simple "$_crt"; then if ! inst "$_crt"; then
dwarn "Couldn't install '$_crt' SSL CA cert bundle; HTTPS might not work." dwarn "Couldn't install '$_crt' SSL CA cert bundle; HTTPS might not work."
continue continue
fi fi

Loading…
Cancel
Save