Commit 6d6eefa0 authored by VSizov's avatar VSizov

fix remove repo

parent da48ca58
...@@ -42,7 +42,7 @@ class Gitosis ...@@ -42,7 +42,7 @@ class Gitosis
end end
def destroy_project(project) 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')) 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