Issue #135 - Repository stay after project remove

This commit is contained in:
Valery Sizov 2011-10-21 00:52:49 +03:00
parent c463eeb090
commit da48ca5891
2 changed files with 3 additions and 1 deletions

View file

@ -32,6 +32,8 @@ sqlite as default db
# install this library first
sudo easy_install pygments
echo "gitlabhq ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers
sudo gem install bundler
bundle

View file

@ -42,7 +42,7 @@ class Gitosis
end
def destroy_project(project)
FileUtils.rm_rf(project.path_to_repo)
`rm -Rf #{project.path_to_repo}`
conf = IniFile.new(File.join(@local_dir,'gitosis','gitosis.conf'))