cookutils rev 1006
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Nov 11 11:53:55 2017 +0000 (2017-11-11) |
parents | e8ed065cd3a2 |
children | f6dc84fcff2a |
files | lighttpd/index.cgi modules/compressor modules/mk_pkg_receipt |
line diff
1.1 --- a/lighttpd/index.cgi Tue Nov 07 13:57:02 2017 +0200 1.2 +++ b/lighttpd/index.cgi Sat Nov 11 11:53:55 2017 +0000 1.3 @@ -670,7 +670,7 @@ 1.4 # Get short description for existing packages 1.5 [ -f $PKGS/packages.info ] && 1.6 short_desc="$(awk -F$'\t' -vp="${requested_pkg:-$pkg}" '{if ($1 == p) { printf("%s", $4); exit; }}' $PKGS/packages.info)" 1.7 - # If package not exists (not created yet or broken), get short description 1.8 + # If package does not exist (not created yet or broken), get short description 1.9 # (but only for "main" package) from receipt 1.10 [ -n "$short_desc" ] || short_desc="$(. $wok/$pkg/receipt; echo "$SHORT_DESC")" 1.11 echo ": $short_desc</h2>" 1.12 @@ -1645,7 +1645,7 @@ 1.13 esac 1.14 rm -f $tmp 1.15 else 1.16 - show_note e "File “$arg” not exists!" 1.17 + show_note e "File “$arg” does not exist!" 1.18 fi 1.19 ;; 1.20
2.1 --- a/modules/compressor Tue Nov 07 13:57:02 2017 +0200 2.2 +++ b/modules/compressor Sat Nov 11 11:53:55 2017 +0000 2.3 @@ -15,7 +15,7 @@ 2.4 # Cache notes. 2.5 # Do not do the same job twice. Getting the file from the cache is much faster 2.6 # than compressing the file one more time. In addition, this cache is trying not 2.7 -# to take extra space, using the hardlinks. Although the files from the cache 2.8 +# to take extra space using the hardlinks. Although the files from the cache 2.9 # without reference to itself should be removed periodically. 2.10 2.11
3.1 --- a/modules/mk_pkg_receipt Tue Nov 07 13:57:02 2017 +0200 3.2 +++ b/modules/mk_pkg_receipt Sat Nov 11 11:53:55 2017 +0000 3.3 @@ -17,7 +17,7 @@ 3.4 [ "${signature:0:1}" == '#' ] || signature='# SliTaz package receipt.' 3.5 3.6 save="$(mktemp)" 3.7 -# `$(echo ...)`: normalize whitespace (space, tab, newline and they combinations and repeats) 3.8 +# `$(echo ...)`: normalize whitespace (space, tab, newline and their combinations and repeats) 3.9 cat > $save <<EOT 3.10 PACKAGE="$PACKAGE"; DEPENDS="$(echo $DEPENDS)"; PROVIDE="$(echo $PROVIDE)" 3.11 SUGGESTED="$(echo $SUGGESTED)"; TAZPANEL_DAEMON="$TAZPANEL_DAEMON"