Преглед на файлове

Updated for Firefox SSL cert first-time install

Mark Shust преди 3 години
родител
ревизия
2695fe2e50
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      compose/bin/setup-ssl-ca

+ 2 - 2
compose/bin/setup-ssl-ca

@@ -17,7 +17,7 @@ if [ "$(uname)" == "Darwin" ]; then
     ### Check if distribution directory exists
     ### Check if distribution directory exists
     DistDirectory="/Applications/Firefox.app/Contents/Resources/distribution"
     DistDirectory="/Applications/Firefox.app/Contents/Resources/distribution"
     if [ ! -d "$DistDirectory" ]; then
     if [ ! -d "$DistDirectory" ]; then
-      sudo mkdir "$DistDirectory"
+      sudo mkdir -p "$DistDirectory"
     fi
     fi
     ### Move the newly created policies.json to the Certificates directory
     ### Move the newly created policies.json to the Certificates directory
     sudo mv policies.json "$DistDirectory"/policies.json
     sudo mv policies.json "$DistDirectory"/policies.json
@@ -25,7 +25,7 @@ if [ "$(uname)" == "Darwin" ]; then
     ### Check if Certificates directory exists
     ### Check if Certificates directory exists
     CertDirectory="/Library/Application Support/Mozilla/Certificates"
     CertDirectory="/Library/Application Support/Mozilla/Certificates"
     if [ ! -d "$CertDirectory" ]; then
     if [ ! -d "$CertDirectory" ]; then
-      sudo mkdir "$CertDirectory"
+      sudo mkdir -p "$CertDirectory"
     fi
     fi
 
 
     ### Move the newly created .pem to the Certificates directory
     ### Move the newly created .pem to the Certificates directory