Commit 6d6eefa0e201953818592962b723c3ee4e5d0c5a

Authored by VSizov
1 parent da48ca58

fix remove repo

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/gitosis.rb
... ... @@ -42,7 +42,7 @@ class Gitosis
42 42 end
43 43  
44 44 def destroy_project(project)
45   - `rm -Rf #{project.path_to_repo}`
  45 + `sudo -u git rm -Rf #{project.path_to_repo}`
46 46  
47 47 conf = IniFile.new(File.join(@local_dir,'gitosis','gitosis.conf'))
48 48  
... ...