wip
This commit is contained in:
parent
316f22fde7
commit
11d961b374
@ -1,15 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
{% if yadm.class == "Work" %}
|
||||||
echo "Creating Target CA bundle directory..."
|
echo "Creating Target CA bundle directory..."
|
||||||
mkdir -p "$HOME"/.config/target-certs
|
mkdir -p "$HOME"/.config/target-certs
|
||||||
|
|
||||||
# Download the Target CA bundle
|
# Download the Target CA bundle
|
||||||
echo "Downloading Target CA bundle..."
|
echo "Downloading Target CA bundle..."
|
||||||
if ! curl -s -o "$HOME"/.config/target-certs/tgt-ca-bundle.crt \
|
if ! curl -s -o "$HOME"/.config/target-certs/tgt-ca-bundle.crt \
|
||||||
https://browserconfig.target.com/tgt-certs/tgt-ca-bundle.crt
|
https://browserconfig.target.com/tgt-certs/tgt-ca-bundle.crt; then
|
||||||
then
|
|
||||||
echo "Failed to download Target CA bundle."
|
echo "Failed to download Target CA bundle."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "Downloaded and installed Target CA bundle."
|
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/aliases.local
|
||||||
.config/zsh/environment
|
.config/zsh/environment
|
||||||
.config/target-certs/
|
.config/target-certs/
|
||||||
|
.config/yadm/bootstrap
|
||||||
|
.config/yadm/bootstrap.d/install-target-certs.sh
|
||||||
.gitconfig.local
|
.gitconfig.local
|
||||||
.npmrc
|
.npmrc
|
||||||
.zprofile.local
|
.zprofile.local
|
||||||
|
Loading…
x
Reference in New Issue
Block a user