summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-24 15:52:49 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-24 16:45:10 +0100
commit8ef7b9b6d10bde1f513d678703fc209653087137 (patch)
tree9ef75b95ab233ffd0ed3d4535e4839e57d2c869d
parent0e15270b75df9e882bc41e22a6a120092a629a02 (diff)
downloadgitlab-ce-8ef7b9b6d10bde1f513d678703fc209653087137.tar.gz
Make SQLite check in gitlab:check more robust
-rw-r--r--lib/tasks/gitlab/check.rake2
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