fix remove repo
This commit is contained in:
parent
da48ca5891
commit
6d6eefa0e2
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue