# HG changeset patch # User Aleksej Bobylev # Date 1528756739 -10800 # Node ID 1641fc59349449cb759a2caa1588879d0dc85177 # Parent 470782e610f96ec292389f2f5262d2d3584aa03e lighttpd/index.cgi: show icon for all sub-packages (like *-dev, etc.); better handle "debug" query; fix display commits.log diff -r 470782e610f9 -r 1641fc593494 lighttpd/index.cgi --- a/lighttpd/index.cgi Mon Jun 11 15:26:30 2018 +0300 +++ b/lighttpd/index.cgi Tue Jun 12 01:38:59 2018 +0300 @@ -15,6 +15,13 @@ . /usr/lib/slitaz/httphelper.sh +case $QUERY_STRING in + *debug*) + debug='yes' + QUERY_STRING="$(echo "$QUERY_STRING" | sed 's|debug||; s|^&||; s|&&|\&|; s|&$||')" + ;; +esac + [ -f "/etc/slitaz/cook.conf" ] && . /etc/slitaz/cook.conf [ -f "./cook.conf" ] && . ./cook.conf wok="$WOK" @@ -161,7 +168,7 @@
EOT - [ -n "$(GET debug)" ] && echo "
$(env | sort)
" + [ -n "$debug" ] && echo "
$(env | sort)
" } @@ -709,8 +716,8 @@ log="$LOGS/$pkg.log" echo -n "