diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-12-24 15:52:49 +0100 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-12-24 16:45:10 +0100 |
commit | 8ef7b9b6d10bde1f513d678703fc209653087137 (patch) | |
tree | 9ef75b95ab233ffd0ed3d4535e4839e57d2c869d | |
parent | 0e15270b75df9e882bc41e22a6a120092a629a02 (diff) | |
download | gitlab-ce-8ef7b9b6d10bde1f513d678703fc209653087137.tar.gz |
Make SQLite check in gitlab:check more robust
-rw-r--r-- | lib/tasks/gitlab/check.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index f052de77184..5f1ed080fa5 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -57,7 +57,7 @@ namespace :gitlab do database_config_file = Rails.root.join("config", "database.yml") - unless File.read(database_config_file) =~ /sqlite/ + unless File.read(database_config_file) =~ /adapter:\s+sqlite/ puts "no".green else puts "yes".red |