cookutils diff lighttpd/index.cgi @ rev 932

Add modules/deps: check package's dependencies; cook: make/update split.db and files.list; modules/compressor: use static (i.e. unbreakable) versions of pngquant and optipng.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 17 23:56:37 2017 +0300 (2017-06-17)
parents 034176ce0e8a
children 9b8a08ce85c9
line diff
     1.1 --- a/lighttpd/index.cgi	Thu Jun 15 03:28:08 2017 +0300
     1.2 +++ b/lighttpd/index.cgi	Sat Jun 17 23:56:37 2017 +0300
     1.3 @@ -1094,7 +1094,7 @@
     1.4  
     1.5  			size=$(du -hs $dir | awk '{ sub(/\.0/, ""); print $1 }')
     1.6  
     1.7 -			echo "<section><h3 id='id-$p'>Content of package “$namever” (${size:-empty}):</h3>"
     1.8 +			echo "<section><h3 id='id-$p'>Contents of package “$namever” (${size:-empty}):</h3>"
     1.9  			echo '<pre class="files">'
    1.10  			if [ -s "$wok/$indir/taz/$p-$ver/files.list" ]; then
    1.11  				echo -n '<span class="underline">permissions·lnk·user    ·'
    1.12 @@ -1329,7 +1329,7 @@
    1.13  								wok/*) page="${arg#wok/}"; page="$base/$pkg/browse/${page#*/}";;
    1.14  								*)     page="$base/$pkg/browse/install/usr/share/$cmd/$arg";;
    1.15  							esac
    1.16 -							# make the iframe height so long to contain its content without scrollbar
    1.17 +							# make the iframe height so long to contain its contents without scrollbar
    1.18  							echo "<iframe id='idoc' src='$page' width='100%' onload='resizeIframe(this)'></iframe>"
    1.19  							;;
    1.20  						*.pdf)