Issue #135 - Repository stay after project remove
This commit is contained in:
parent
c463eeb090
commit
da48ca5891
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue