fix remove repo

This commit is contained in:
VSizov 2011-10-22 13:50:02 +03:00
parent da48ca5891
commit 6d6eefa0e2

View file

@ -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'))