target certs are downloaded and placed during bootstrap
This commit is contained in:
parent
4b04c8882c
commit
515f610205
File diff suppressed because it is too large
Load Diff
15
.config/yadm/bootstrap.d/install-target-certs.sh
Executable file
15
.config/yadm/bootstrap.d/install-target-certs.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
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
|
||||
echo "Failed to download Target CA bundle."
|
||||
exit 1
|
||||
else
|
||||
echo "Downloaded and installed Target CA bundle."
|
||||
fi
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Updating the yadm repo origin URL"
|
||||
yadm remote set-url origin "git@github.com:MyUser/dotfiles.git"
|
||||
echo "Setting the yadm repo origin URL to SSH..."
|
||||
yadm remote set-url origin "git@github.com:fwonkas/dotfiles.git"
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
.config/homebrew/.Brewfile
|
||||
.config/zsh/aliases.local
|
||||
.config/zsh/environment
|
||||
.config/target-certs/
|
||||
.gitconfig.local
|
||||
.npmrc
|
||||
.zprofile.local
|
||||
|
Loading…
x
Reference in New Issue
Block a user