]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
livenet: take into account other ca-bundle paths; use inst_any for that
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Sun, 21 Aug 2011 10:47:14 +0000 (12:47 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 22 Aug 2011 09:19:21 +0000 (11:19 +0200)
modules.d/90livenet/module-setup.sh

index 3ae72de2851b40937b79fe910f862a4f33e1ce9c..b1668597ae5eb941a333b72189ca6f145e996813 100755 (executable)
@@ -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