mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
14 lines
254 B
Bash
Executable File
14 lines
254 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ `ls /site/index.* 2> /dev/null | wc -l` = 0 ]; then
|
|
echo "Preparing /site with default content..."
|
|
cp -r /site-template/* /site
|
|
fi
|
|
|
|
if [ ! -e /site/Gemfile ]; then
|
|
cp /tmp/Gemfile /site/Gemfile
|
|
fi
|
|
|
|
cd /site
|
|
bundle exec jekyll serve
|