cookutils diff web/cooker.cgi @ rev 561
cooker.cgi: packages content downloadable (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 31 17:03:55 2012 +0100 (2012-12-31) |
parents | 3c023aa7485f |
children | ec09ac8df52b |
line diff
1.1 --- a/web/cooker.cgi Mon Dec 31 16:50:06 2012 +0100 1.2 +++ b/web/cooker.cgi Mon Dec 31 17:03:55 2012 +0100 1.3 @@ -267,7 +267,7 @@ 1.4 if [ -d "$dir/fs" ]; then 1.5 echo '<pre>' 1.6 find $dir/fs -not -type d | xargs ls -ld | \ 1.7 - sed "s|\(.*\) /.*\(${dir#*wok}/fs\)\(.*\)|\1 <a href=\"?download=../wok\2\3\">\3</a>|" | \ 1.8 + sed "s|\(.*\) /.*\(${dir#*wok}/fs\)\(.*\)|\1 <a href=\"?download=../wok\2\3\">\3</a>|;s|\(<a.* -> .*\)\">\(.*\)</a>|\2|" | \ 1.9 syntax_highlighter log 1.10 echo '</pre>' 1.11 else