cookutils rev 986
lighttpd/index.cgi: fix previous commit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 22 19:16:17 2017 +0300 (2017-10-22) |
parents | 7a71926d4191 |
children | 556429e78e83 |
files | lighttpd/index.cgi |
line diff
1.1 --- a/lighttpd/index.cgi Sun Oct 22 19:12:01 2017 +0300 1.2 +++ b/lighttpd/index.cgi Sun Oct 22 19:16:17 2017 +0300 1.3 @@ -848,7 +848,7 @@ 1.4 echo '<pre class="log">' 1.5 syntax_highlighter log < $log 1.6 echo '</pre>' 1.7 - if [ "$log" == 'pkgdb.log' ]; then 1.8 + if [ "$QUERY_STRING" == 'pkgdb.log' ]; then 1.9 # Display button only for SliTaz web browser 1.10 case "$HTTP_USER_AGENT" in 1.11 *SliTaz*)