Commit 58a070af authored by JosephK's avatar JosephK
Browse files

Wiki import

parent b3bef949
......@@ -6,9 +6,11 @@ WikiGit=$(echo $WikiBase | rev | cut -d '/' -f4- | rev).wiki.git;
wget "$WikiAPI" -O public/wiki.json
# Import uploads
if [ ! -d public/wiki ]; then
mkdir ./public/wiki
if [ -d public/wiki ]; then
rm -rf public/wiki
fi;
mkdir public/wiki
git clone $WikiGit public/wiki/tmp/
if [ -d public/wiki/tmp/uploads ]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment