#!/bin/sh cd /tmp if [ ! -d "pyircbot" ] ; then mkdir pyircbot wget http://gitlab.davepedu.com/dave/pyircbot3/repository/archive.tar.gz?ref=master -O pyircbot.tgz tar zxvf pyircbot.tgz -C pyircbot/ --strip-components=1 fi cd pyircbot/docs/ make html rm -rf /tmp/docs/* cp -r _build/html/* /tmp/docs/ chown -R 1000:1000 /tmp/docs/*