cookutils diff cook @ rev 925

cook: improve $CAT using; lighttpd/index.cgi: improve top buttons.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 13 02:46:13 2017 +0300 (2017-06-13)
parents f4e577c714e2
children a984acecb3fa
line diff
     1.1 --- a/cook	Sun Jun 11 21:39:35 2017 +0300
     1.2 +++ b/cook	Tue Jun 13 02:46:13 2017 +0300
     1.3 @@ -862,8 +862,10 @@
     1.4  		case $PACKAGE in
     1.5  			*-dev) CAT="development|development files" ;;
     1.6  		esac
     1.7 +	fi
     1.8  
     1.9 -		# Manage two-in-one $CAT="$CATEGORY|$SHORT_DESC_ADDITION"
    1.10 +	# Manage two-in-one $CAT="$CATEGORY|$SHORT_DESC_ADDITION"
    1.11 +	if [ -n "$CAT" ]; then
    1.12  		CATEGORY="${CAT%|*}"
    1.13  		SHORT_DESC="$SHORT_DESC (${CAT#*|})"
    1.14  	fi