]> gitweb.fluxo.info Git - puppet-git.git/commitdiff
Gitweb config fix
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Dec 2012 19:07:40 +0000 (17:07 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Dec 2012 19:07:40 +0000 (17:07 -0200)
templates/gitweb.conf.erb

index 57f9a4bd0c4b71d51d29f98580ff4a7a82ae6576..cffe213ce19231c22ea91010d774e162a7817a8f 100644 (file)
@@ -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";