1
0
mirror of https://github.com/Yubico/yubikey-ksm.git synced 2025-01-21 22:52:10 +01:00

else -> elif

This commit is contained in:
Klas Lindfors 2013-11-06 14:57:39 +01:00
parent e41867b8cf
commit 0fd78b5b94

View File

@ -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