diaspora/script/ci/prepare.sh
2021-04-10 11:07:37 +02:00

8 lines
233 B
Bash
Executable file

#!/bin/sh
# Create a database.yml for the right database
echo "Setting up database.yml for ${DB}"
cp config/database.yml.example config/database.yml
if [ "${DB}" = "mysql" ]; then
sed -i 's/*common/*mysql/' config/database.yml
fi