Skip to content

Commit 2695fe2

Browse files
authored
Updated for Firefox SSL cert first-time install
1 parent 429e105 commit 2695fe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compose/bin/setup-ssl-ca

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ if [ "$(uname)" == "Darwin" ]; then
1717
### Check if distribution directory exists
1818
DistDirectory="/Applications/Firefox.app/Contents/Resources/distribution"
1919
if [ ! -d "$DistDirectory" ]; then
20-
sudo mkdir "$DistDirectory"
20+
sudo mkdir -p "$DistDirectory"
2121
fi
2222
### Move the newly created policies.json to the Certificates directory
2323
sudo mv policies.json "$DistDirectory"/policies.json
2424

2525
### Check if Certificates directory exists
2626
CertDirectory="/Library/Application Support/Mozilla/Certificates"
2727
if [ ! -d "$CertDirectory" ]; then
28-
sudo mkdir "$CertDirectory"
28+
sudo mkdir -p "$CertDirectory"
2929
fi
3030

3131
### Move the newly created .pem to the Certificates directory

0 commit comments

Comments
 (0)