# HG changeset patch # User Aleksej Bobylev # Date 1528238532 -10800 # Node ID 9c90eaa721d24f41f48d0348d86bb1f635f475b4 # Parent c69daec36de2b8386b6cf22497abe0435a3f029e modules/compressor: compress_gif(): compress files with spaces in the file names (see amsn package) diff -r c69daec36de2 -r 9c90eaa721d2 lighttpd/cooker.css --- a/lighttpd/cooker.css Wed Jun 06 00:53:16 2018 +0300 +++ b/lighttpd/cooker.css Wed Jun 06 01:42:12 2018 +0300 @@ -382,6 +382,7 @@ .summary th, .summary td { white-space: nowrap; width: 1rem; text-align: center; } .summary th:last-child, .summary td:last-child { width: unset; } +#webstat { height: 7em; } .webstat td { text-align: center; width: 16%; } .webstat td:first-child { text-align: unset; width: unset; } diff -r c69daec36de2 -r 9c90eaa721d2 lighttpd/index.cgi --- a/lighttpd/index.cgi Wed Jun 06 00:53:16 2018 +0300 +++ b/lighttpd/index.cgi Wed Jun 06 01:42:12 2018 +0300 @@ -890,7 +890,6 @@ return fi - echo '
' case $1 in summary) echo '

Summary

' @@ -993,7 +992,6 @@ fi ;; esac - echo '
' } diff -r c69daec36de2 -r 9c90eaa721d2 modules/compressor --- a/modules/compressor Wed Jun 06 00:53:16 2018 +0300 +++ b/modules/compressor Wed Jun 06 01:42:12 2018 +0300 @@ -398,7 +398,8 @@ if which gifsicle >/dev/null; then the_log="$(mktemp)" - for i in $(IFS=$'\n' find $install -type f -name '*.gif'); do + IFS=$'\n' + for i in $(find $install -type f -name '*.gif'); do unset IFS # use intermediate file, if all well ($?=0), then substitute the original if gifsicle -O3 "$i" -o "$i.$$" >> "$the_log" 2>&1; then