mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-17 15:01:20 +02:00
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
|