wip
This commit is contained in:
parent
316f22fde7
commit
11d961b374
@ -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
2
.gitignore
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user