File tree 1 file changed +3
-1
lines changed
lib/redmine_git_hosting/config
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ def mirroring_keys_installed?(opts = {})
42
42
logger . info ( 'Done !' )
43
43
@mirroring_keys_installed = true
44
44
else
45
- logger . error ( 'Failed to install Redmine Gitolite mirroring SSH keys !' )
46
45
@mirroring_keys_installed = false
47
46
end
48
47
end
@@ -82,20 +81,23 @@ def gitolite_ssh_public_key_dest_path
82
81
def install_private_key
83
82
RedmineGitHosting ::Commands . sudo_install_file ( gitolite_ssh_private_key_content , gitolite_ssh_private_key_dest_path , '600' )
84
83
rescue
84
+ logger . error ( 'Failed to install Redmine Git Hosting mirroring SSH private key !' )
85
85
false
86
86
end
87
87
88
88
89
89
def install_public_key
90
90
RedmineGitHosting ::Commands . sudo_install_file ( gitolite_ssh_public_key_content , gitolite_ssh_public_key_dest_path , '644' )
91
91
rescue
92
+ logger . error ( 'Failed to install Redmine Git Hosting mirroring SSH public key !' )
92
93
false
93
94
end
94
95
95
96
96
97
def install_mirroring_script
97
98
RedmineGitHosting ::Commands . sudo_install_file ( mirroring_script_content , gitolite_mirroring_script , '700' )
98
99
rescue
100
+ logger . error ( 'Failed to install Redmine Git Hosting mirroring script !' )
99
101
false
100
102
end
101
103
You can’t perform that action at this time.
0 commit comments