mirror of
https://github.com/Yubico/yubikey-ksm.git
synced 2025-01-22 07:52:14 +01:00
else -> elif
This commit is contained in:
parent
e41867b8cf
commit
0fd78b5b94
@ -12,7 +12,7 @@ if [ "x$DB" = "xmysql" ]; then
|
||||
mysql -u $dbuser ykksm < ykksm-db.sql
|
||||
|
||||
dbrun="mysql -u $dbuser ykksm -e"
|
||||
else [ "x$DB" = "xpgsql" ]; then
|
||||
elif [ "x$DB" = "xpgsql" ]; then
|
||||
dbuser=postgres
|
||||
packages="$packages php5-pgsql"
|
||||
|
||||
@ -20,6 +20,9 @@ else [ "x$DB" = "xpgsql" ]; then
|
||||
psql -U $dbuser ykksm < ykksm-db.sql
|
||||
|
||||
dbrun="psql -U $dbuser ykksm -c"
|
||||
else
|
||||
echo "unknown DB $DB"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo apt-get update -qq
|
||||
|
Loading…
x
Reference in New Issue
Block a user