Commit a9e2fa4c35604da4be37493cf7378e247d84f739
1 parent
3bf0b4e2
Exists in
master
and in
4 other branches
Fix output of gitlab:check
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
lib/tasks/gitlab/check.rake
| ... | ... | @@ -53,14 +53,14 @@ namespace :gitlab do |
| 53 | 53 | end |
| 54 | 54 | |
| 55 | 55 | def check_database_is_not_sqlite |
| 56 | - print "Database is not SQLite ... " | |
| 56 | + print "Database is SQLite ... " | |
| 57 | 57 | |
| 58 | 58 | database_config_file = Rails.root.join("config", "database.yml") |
| 59 | 59 | |
| 60 | 60 | unless File.read(database_config_file) =~ /sqlite/ |
| 61 | - puts "yes".green | |
| 61 | + puts "no".green | |
| 62 | 62 | else |
| 63 | - puts "no".red | |
| 63 | + puts "yes".red | |
| 64 | 64 | for_more_information( |
| 65 | 65 | "https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL", |
| 66 | 66 | see_database_guide |
| ... | ... | @@ -505,7 +505,6 @@ namespace :gitlab do |
| 505 | 505 | puts "yes".green |
| 506 | 506 | else |
| 507 | 507 | puts "no".red |
| 508 | - puts "#{gitolite_config_path} is not writable".red | |
| 509 | 508 | try_fixing_it( |
| 510 | 509 | "sudo chmod 750 #{gitolite_config_path}" |
| 511 | 510 | ) | ... | ... |