summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xssh-co-dotfiles7
1 files changed, 3 insertions, 4 deletions
diff --git a/ssh-co-dotfiles b/ssh-co-dotfiles
index f847336..34a79ea 100755
--- a/ssh-co-dotfiles
+++ b/ssh-co-dotfiles
@@ -14,8 +14,7 @@ h="$1"
echo
ssh "$h" '(! [ -e .dotfiles ] || ( [ -e .dotfiles/.svn ] && mv .dotfiles .dotfiles-svn ) ) &&
rm -rf .dotfiles.new &&
- mkdir -p .dotfiles/.certs &&
- cat > .dotfiles/.certs/www.palfrader.org.crt << EOF &&
+ cat > .www.palfrader.org.crt << EOF &&
-----BEGIN CERTIFICATE-----
MIIFYzCCBEugAwIBAgIQJMKGOvTFJfamxTl+S7YAQzANBgkqhkiG9w0BAQUFADBB
MQswCQYDVQQGEwJGUjESMBAGA1UEChMJR0FOREkgU0FTMR4wHAYDVQQDExVHYW5k
@@ -48,8 +47,8 @@ MBQmrD9cIDBQul8TYms32orn/+pZltTYQ9G9py3a0cC7HHt0peedXIJnRdEGrMVM
cIFbNzIrk1reHamFS3w2mrGLWF5/xbdjRZQeeYSom2CLwtN1ywhz
-----END CERTIFICATE-----
EOF
- git -c http.sslCAinfo=/home/weasel/.dotfiles/.certs/www.palfrader.org.crt clone https://www.palfrader.org/git/conf/dotfiles.git .dotfiles.new &&
- rm -rf .dotfiles &&
+ git -c http.sslCAinfo=/home/weasel/.www.palfrader.org.crt clone https://www.palfrader.org/git/conf/dotfiles.git .dotfiles.new &&
+ rm -f .www.palfrader.org.crt &&
mv .dotfiles.new .dotfiles &&
cd .dotfiles &&
git config --local --add http.sslCAinfo /home/weasel/.dotfiles/.certs/www.palfrader.org.crt &&