# HG changeset patch # User Pascal Bellard # Date 1339760612 -7200 # Node ID 37e50cc5ecfb8c83643d3076c81bb0f9fcdeb923 # Parent 1b4e8a04182af9931e3337ff8fc283b63e22d679 cooker.cgi: Fixed description link. diff -r 1b4e8a04182a -r 37e50cc5ecfb web/cooker.cgi --- a/web/cooker.cgi Thu Jun 14 15:45:00 2012 +0000 +++ b/web/cooker.cgi Fri Jun 15 13:43:32 2012 +0200 @@ -265,7 +265,7 @@ pkg=${QUERY_STRING#description=} echo "

Description of $pkg

" dir=$(ls -d $WOK/$pkg/taz/$pkg-*) - if [ -d "$dir/description.txt" ]; then + if [ -s "$dir/description.txt" ]; then echo '
'
 			cat $dir/description.txt
 			echo '
'