Commit 1a817b58 authored by VSizov's avatar VSizov

fix remove repo

parent 453f1e8b
......@@ -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