From 1a817b58b88e226f42aaaa236486073afcfbee5a Mon Sep 17 00:00:00 2001 From: VSizov Date: Sat, 22 Oct 2011 13:50:02 +0300 Subject: [PATCH] fix remove repo --- lib/gitosis.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gitosis.rb b/lib/gitosis.rb index 59b3f2a2c8f..1dd87c0abe4 100644 --- a/lib/gitosis.rb +++ b/lib/gitosis.rb @@ -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')) -- GitLab