cookutils diff lighttpd/index.cgi @ 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
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