9 lines
142 B
Bash
9 lines
142 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -f "/data/gitea/conf/app.ini" ]; then
|
||
|
echo "=====> Running database migration"
|
||
|
gitea migrate
|
||
|
fi
|
||
|
|
||
|
/usr/bin/entrypoint "$@"
|