mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Docker: Improve mariadb init
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
4442ba6703
commit
6c7bb04b93
5 changed files with 39 additions and 30 deletions
|
@ -23,7 +23,8 @@ while [ $# -ne 0 ]; do
|
|||
done
|
||||
|
||||
# Initialize the new database; ignore errors.
|
||||
python -m aurweb.initdb 2>/dev/null || /bin/true
|
||||
python -m aurweb.initdb 2>/dev/null || \
|
||||
(echo "Error: aurweb.initdb failed; already initialized?" && /bin/true)
|
||||
|
||||
# Run pytest with optional targets in front of it.
|
||||
make -C test "${PARAMS[@]}" pytest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue