shithub: werc

Download patch

ref: ef6a70f3e41f062b4754fe7834ea21ce837213d4
parent: 49b784f6882e87f5f4d56b574cbd8b4047859fab
author: uriel <uriel@engel.se.cat-v.org>
date: Sat Jun 28 01:06:52 EDT 2008

Fix dirfilter to so files with dots in name are displayed

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -26,7 +26,7 @@
 }
 
 # Don't change var name or trailing ';', some dirs change the filter!
-dirfilter = '/\/[._]/d; s,^\./,,; s,\.md$,,; s,\.html,,;'
+dirfilter = '/\/[._]/d; s,^\.\.*/,.,; s,\.md$,,; s,\.html,,;'
 
 # Sidebar 
 fn menu {