cookutils diff lighttpd/index.cgi @ rev 900
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu May 11 20:04:44 2017 +0100 (2017-05-11) |
parents | 2aaf73fe2cd4 |
children | b03ac1e1213d |
line diff
1.1 --- a/lighttpd/index.cgi Thu May 11 00:17:06 2017 +0300 1.2 +++ b/lighttpd/index.cgi Thu May 11 20:04:44 2017 +0100 1.3 @@ -698,7 +698,7 @@ 1.4 else 1.5 toolchain="slitaz-toolchain/" 1.6 fi 1.7 - # Main page with summary. Count only package include in ARCH, 1.8 + # Main page with summary. Count only packages included in ARCH, 1.9 # use 'cooker arch-db' to manually create arch.$ARCH files. 1.10 inwok=$(ls $WOK/*/arch.$ARCH | wc -l) 1.11 cooked=$(ls $PKGS/*.tazpkg | wc -l) 1.12 @@ -936,7 +936,7 @@ 1.13 # find main package 1.14 wanted=$(. $wok/$pkg/receipt; echo $WANTED) 1.15 main=${wanted:-$pkg} 1.16 - # identify splitted packages 1.17 + # identify split packages 1.18 split="$main $(. $wok/$main/receipt; echo $SPLIT)" 1.19 [ -d "$wok/$main-dev" ] && split="$split $main-dev" 1.20 split="$(echo $split | tr ' ' '\n' | sort -u)" 1.21 @@ -1147,7 +1147,7 @@ 1.22 wok/*) page="${arg#wok/}"; page="$base/$pkg/browse/${page#*/}";; 1.23 *) page="$base/$pkg/browse/install/usr/share/$cmd/$arg";; 1.24 esac 1.25 - # make the iframe height so long to contain it's content without scrollbar 1.26 + # make the iframe height so long to contain its content without scrollbar 1.27 echo "<iframe id='idoc' src='$page' width='100%' onload='resizeIframe(this)'></iframe>" 1.28 ;; 1.29 *.pdf)