Welcome to mirror list, hosted at ThFree Co, Russian Federation.

prepare.sh « ci « script - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a8a46d60d67d8f5bc8251ca9817185e6e7dfb1f (plain)
1
2
3
4
5
6
7
8
#!/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