summaryrefslogtreecommitdiff
path: root/ssh-co-dotfiles
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2015-02-18 15:38:15 +0100
committerPeter Palfrader <peter@palfrader.org>2015-02-18 15:38:15 +0100
commit41599461aa00610e1842fc72d8ac99812ace2edf (patch)
tree9e467279755db36cc96b3b48dc8029e93ebbb2ff /ssh-co-dotfiles
parentb43a17f87d62ab2b03661c048bbe297acc980e6a (diff)
Add install-VM-grongo
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
'