mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +02:00
If you use a ./test/local directory, you need to create it again: $ make clean bats-build bats-fixture
12 lines
406 B
Bash
Executable file
12 lines
406 B
Bash
Executable file
#!/bin/sh
|
|
|
|
die() {
|
|
echo "$@" >&2
|
|
exit 1
|
|
}
|
|
|
|
[ "${PACKAGE_TESTING}" = "true" ] && die "no package available for this distribution"
|
|
[ "${DB_BACKEND}" = "postgres" ] && die "postgres role does not support this distribution"
|
|
[ "${DB_BACKEND}" = "pgx" ] && die "postgres role does not support this distribution"
|
|
[ "${DB_BACKEND}" = "mysql" ] && die "mysql role does not support this distribution"
|
|
exit 0
|