docker-offlineimap/get-website.sh
Nicolas Sebrecht 7c7e7f92b1 website: learn to build the sphinx documentation
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2015-03-10 15:52:46 +01:00

17 lines
391 B
Bash
Executable File

#!/bin/zsh
if test -d website
then
echo "Directory 'website' already exists..."
exit 1
else
git clone https://github.com/OfflineIMAP/offlineimap.github.io.git
cat <<EOF
Now, you can fork the website at https://github.com/OfflineIMAP/offlineimap.github.io
and add a reference to it:
$ cd website
$ git remote add myfork https://github.com/<username>/offlineimap.github.io.git
EOF
fi