mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 00:24:13 +01:00
again try to fix up the travis run for postfix
This commit is contained in:
parent
fc6f2ca033
commit
d65494afc7
@ -8,10 +8,12 @@ if [ "x$DB" = "xmysql" ]; then
|
||||
mysql -u $dbuser -e 'create database ykval;'
|
||||
mysql -u $dbuser ykval < ykval-db.sql
|
||||
elif [ "x$DB" = "xpgsql" ]; then
|
||||
sudo service postgresql status
|
||||
set +e
|
||||
sudo service postgresql status | grep -q 'online'
|
||||
if [ $? != 0 ]; then
|
||||
sudo service postgresql restart
|
||||
fi
|
||||
set -e
|
||||
dbuser=postgres
|
||||
|
||||
psql -U $dbuser -c 'create database ykval;'
|
||||
|
Loading…
Reference in New Issue
Block a user