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,14 +53,14 @@ namespace :gitlab do | ||
53 | end | 53 | end |
54 | 54 | ||
55 | def check_database_is_not_sqlite | 55 | def check_database_is_not_sqlite |
56 | - print "Database is not SQLite ... " | 56 | + print "Database is SQLite ... " |
57 | 57 | ||
58 | database_config_file = Rails.root.join("config", "database.yml") | 58 | database_config_file = Rails.root.join("config", "database.yml") |
59 | 59 | ||
60 | unless File.read(database_config_file) =~ /sqlite/ | 60 | unless File.read(database_config_file) =~ /sqlite/ |
61 | - puts "yes".green | 61 | + puts "no".green |
62 | else | 62 | else |
63 | - puts "no".red | 63 | + puts "yes".red |
64 | for_more_information( | 64 | for_more_information( |
65 | "https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL", | 65 | "https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL", |
66 | see_database_guide | 66 | see_database_guide |
@@ -505,7 +505,6 @@ namespace :gitlab do | @@ -505,7 +505,6 @@ namespace :gitlab do | ||
505 | puts "yes".green | 505 | puts "yes".green |
506 | else | 506 | else |
507 | puts "no".red | 507 | puts "no".red |
508 | - puts "#{gitolite_config_path} is not writable".red | ||
509 | try_fixing_it( | 508 | try_fixing_it( |
510 | "sudo chmod 750 #{gitolite_config_path}" | 509 | "sudo chmod 750 #{gitolite_config_path}" |
511 | ) | 510 | ) |