livenet: take into account other ca-bundle paths; use inst_any for that

master
Amadeusz Żołnowski 2011-08-21 12:47:14 +02:00 committed by Harald Hoyer
parent 3378a54f15
commit 07aeaae356
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@ depends() {
install() {
dracut_install wget
mkdir -m 0755 -p "$initdir/etc/ssl/certs"
if ! inst_simple /etc/ssl/certs/ca-bundle.crt; then
if ! inst_any -t /etc/ssl/certs/ca-bundle.crt \
/etc/ssl/certs/ca-bundle.crt \
/etc/ssl/certs/ca-certificates.crt; then
dwarn "Couldn't find SSL CA cert bundle; HTTPS won't work."
fi