[pacman-dev] [PATCH 2/4] signature_display should also be colourized

Allan McRae allan at archlinux.org
Tue Mar 26 01:35:08 EDT 2013


On 26/03/13 04:43, Simon Gomizelj wrote:
> Signed-off-by: Simon Gomizelj <simongmzlj at gmail.com>
> ---
>  src/pacman/util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Ack - for pacman-4.1.

Allan

> diff --git a/src/pacman/util.c b/src/pacman/util.c
> index a1ec9c7..994b79e 100644
> --- a/src/pacman/util.c
> +++ b/src/pacman/util.c
> @@ -689,7 +689,7 @@ void signature_display(const char *title, alpm_siglist_t *siglist,
>  
>  	if(title) {
>  		len = (unsigned short)string_length(title) + 1;
> -		printf("%s ", title);
> +		printf("%s%s%s ", config->colstr.title, title, config->colstr.nocolor);
>  	}
>  	if(siglist->count == 0) {
>  		printf(_("None"));
> 



More information about the pacman-dev mailing list