From 979a10c2a68746565f330e871da2a0a112fa1604 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 6 Apr 2020 12:06:20 +0300 Subject: initial commit --- pull-wiki | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 pull-wiki (limited to 'pull-wiki') 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" -- cgit v1.2.3