summaryrefslogtreecommitdiff
path: root/ssh-co-dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-co-dotfiles')
-rwxr-xr-xssh-co-dotfiles2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-co-dotfiles b/ssh-co-dotfiles
index c59c9bf..e55e817 100755
--- a/ssh-co-dotfiles
+++ b/ssh-co-dotfiles
@@ -87,12 +87,14 @@ sXmB2EZXwPrgijgIFWpRTarioptI9NxNF4RtpAjH1dI1VtP9kybvYKSP+z3cniFL
4Q==
-----END CERTIFICATE-----
EOF
+ rm -f .gitconfig &&
cd .dotfiles &&
git remote set-url origin https://git2.palfrader.org/git/conf/dotfiles.git &&
git -c http.sslCAinfo="$HOME"/.git2.palfrader.org.crt -c http.sslCAPath="$HOME"/.nonexistent pull &&
git config --local --add http.sslCAinfo "$HOME"/.dotfiles/.certs/git2.palfrader.org.crt &&
git config --local --add http.sslCAPath "$HOME"/.nonexistent &&
rm -f .git2.palfrader.org.crt &&
+ ./Link-Them &&
echo "Pulled with current cert.";
fi
'