This commit is contained in:
Joe Lillibridge 2024-10-31 16:35:23 -05:00
parent 316f22fde7
commit 11d961b374
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View File

@ -1,15 +1,15 @@
#!/bin/sh
{% if yadm.class == "Work" %}
echo "Creating Target CA bundle directory..."
mkdir -p "$HOME"/.config/target-certs
# Download the Target CA bundle
echo "Downloading Target CA bundle..."
if ! curl -s -o "$HOME"/.config/target-certs/tgt-ca-bundle.crt \
https://browserconfig.target.com/tgt-certs/tgt-ca-bundle.crt
then
https://browserconfig.target.com/tgt-certs/tgt-ca-bundle.crt; then
echo "Failed to download Target CA bundle."
exit 1
else
echo "Downloaded and installed Target CA bundle."
fi
fi
{% endif %}

2
.gitignore vendored
View File

@ -3,6 +3,8 @@
.config/zsh/aliases.local
.config/zsh/environment
.config/target-certs/
.config/yadm/bootstrap
.config/yadm/bootstrap.d/install-target-certs.sh
.gitconfig.local
.npmrc
.zprofile.local