From: Silvio Rhatto Date: Sat, 22 Dec 2012 19:07:40 +0000 (-0200) Subject: Gitweb config fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0f47e9b2754a34ca01d770b81008c85fea291a64;p=puppet-git.git Gitweb config fix --- diff --git a/templates/gitweb.conf.erb b/templates/gitweb.conf.erb index 57f9a4b..cffe213 100644 --- a/templates/gitweb.conf.erb +++ b/templates/gitweb.conf.erb @@ -13,7 +13,7 @@ $git_temp = "/tmp"; $home_text = "indextext.html"; # file with project list; by default, simply scan the projectroot dir. -$projects_list = "/var/git/<%= git_server_implementation %>/projects.list"; +$projects_list = "/var/git/<% if git_server_implementation == 'gitosis' %><%= git_server_implementation %>/<% end %>projects.list"; # stylesheet to use $stylesheet = "/gitweb.css";