Commit 6d6eefa0 authored by VSizov's avatar VSizov

fix remove repo

parent da48ca58
......@@ -42,7 +42,7 @@ class Gitosis
end
def destroy_project(project)
`rm -Rf #{project.path_to_repo}`
`sudo -u git rm -Rf #{project.path_to_repo}`
conf = IniFile.new(File.join(@local_dir,'gitosis','gitosis.conf'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment