diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-06-08 17:06:49 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-06-08 23:19:00 +0200 |
| commit | 8d8486bef1b08fbc43cc100cca83fe6d8bc09f28 (patch) | |
| tree | b3737bb386445e782e0d98d05fa390284e1564b6 /build/configure.sh | |
| parent | 7d9ab456a54674112760af1b0cbc6a1b2e587ba1 (diff) | |
| parent | ddbe854650c018a8164093821f9c90300fb0867e (diff) | |
Merge remote-tracking branch 'gitlab/master'
Diffstat (limited to 'build/configure.sh')
| -rwxr-xr-x | build/configure.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/configure.sh b/build/configure.sh index e8676960..eb7324d2 100755 --- a/build/configure.sh +++ b/build/configure.sh @@ -20,6 +20,8 @@ until eval $MYSQL_COMMAND -e "use opendc;" ; do sleep 1 done +echo "MariaDB available" + NUM_TABLES=$(eval "$MYSQL_COMMAND -B --disable-column-names -e \"SELECT count(*) FROM information_schema.tables WHERE table_schema='$MYSQL_DATABASE';\"") # Check if database is empty |
