diff options
author | Cem Keylan <cem@ckyln.com> | 2020-04-06 12:06:20 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-04-06 12:06:20 +0300 |
commit | 979a10c2a68746565f330e871da2a0a112fa1604 (patch) | |
tree | edc502252ef282c7f67f40251300130aa4b094c1 /pull-wiki | |
download | website-979a10c2a68746565f330e871da2a0a112fa1604.tar.gz |
initial commit
Diffstat (limited to 'pull-wiki')
-rwxr-xr-x | pull-wiki | 7 |
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" |