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