You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [[ -z "$(ls -A "$HUGOBOT_DB_PATH")" ]];then
|
|
echo "WARNING !! $HUGOBOT_DB_PATH is empty, creating new database !"
|
|
fi
|
|
|
|
if [[ -z "$(ls -A "$WEBSITE_PATH")" ]];then
|
|
echo "you need to mount the website path !"
|
|
exit 1
|
|
fi
|
|
|
|
|
|
exec "$@"
|