aboutsummaryrefslogtreecommitdiff
path: root/pull-wiki
diff options
context:
space:
mode:
Diffstat (limited to 'pull-wiki')
-rwxr-xr-xpull-wiki7
1 files changed, 7 insertions, 0 deletions
diff --git a/pull-wiki b/pull-wiki
new file mode 100755
index 0000000..9a65a86
--- /dev/null
+++ b/pull-wiki
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+TEMP="/tmp/carbswiki"
+
+rm -rf "$TEMP" ; git clone --depth 1 https://github.com/CarbsLinux/wiki.wiki "$TEMP"
+rsync -av --delete -C "$TEMP/" src/wiki/
+rm -rf "$TEMP"