From 2695fe2e508098906103dd442767d50e9f6011c0 Mon Sep 17 00:00:00 2001 From: Mark Shust Date: Tue, 11 Jan 2022 15:20:32 -0500 Subject: [PATCH] Updated for Firefox SSL cert first-time install --- compose/bin/setup-ssl-ca | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/bin/setup-ssl-ca b/compose/bin/setup-ssl-ca index e21712e3a..6c9477274 100755 --- a/compose/bin/setup-ssl-ca +++ b/compose/bin/setup-ssl-ca @@ -17,7 +17,7 @@ if [ "$(uname)" == "Darwin" ]; then ### Check if distribution directory exists DistDirectory="/Applications/Firefox.app/Contents/Resources/distribution" if [ ! -d "$DistDirectory" ]; then - sudo mkdir "$DistDirectory" + sudo mkdir -p "$DistDirectory" fi ### Move the newly created policies.json to the Certificates directory sudo mv policies.json "$DistDirectory"/policies.json @@ -25,7 +25,7 @@ if [ "$(uname)" == "Darwin" ]; then ### Check if Certificates directory exists CertDirectory="/Library/Application Support/Mozilla/Certificates" if [ ! -d "$CertDirectory" ]; then - sudo mkdir "$CertDirectory" + sudo mkdir -p "$CertDirectory" fi ### Move the newly created .pem to the Certificates directory