summaryrefslogtreecommitdiff
path: root/ssh-co-dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-co-dotfiles')
-rwxr-xr-xssh-co-dotfiles20
1 files changed, 20 insertions, 0 deletions
diff --git a/ssh-co-dotfiles b/ssh-co-dotfiles
new file mode 100755
index 0000000..5075d29
--- /dev/null
+++ b/ssh-co-dotfiles
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+set -u
+
+if [ "$#" != 1 ]; then
+ echo >&2 "Usage: $0 <hostname>"
+ exit 1
+fi
+
+h="$1"
+echo "Expect svn cert fingerprint to be"
+echo " 80:88:ec:2a:29:5e:19:c5:46:ef:8c:24:eb:5a:a3:07:58:dd:06:29"
+echo
+ssh "$h" '! [ -e .dotfiles ] &&
+ svn co https://orata.debian.or.at/svn/weaselutils/trunk/dotfiles .dotfiles &&
+ cd .dotfiles &&
+ ./Link-Them &&
+ echo "All done"'
+