diff options
author | VSizov <fk@sphere.com> | 2011-10-22 13:50:02 +0300 |
---|---|---|
committer | VSizov <fk@sphere.com> | 2011-10-22 13:50:02 +0300 |
commit | 6d6eefa0e201953818592962b723c3ee4e5d0c5a (patch) | |
tree | 0bd82c18af078b6ed336500c15ea84e8f72218c2 /lib | |
parent | da48ca58914264cd58cf5e3863e9256d61b00d6a (diff) | |
download | gitlab-ce-6d6eefa0e201953818592962b723c3ee4e5d0c5a.tar.gz |
fix remove repo
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitosis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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')) |