hi sébastien,

On Wed, 2007-05-09 at 15:24 +0200, Sébastien Chaumat wrote:
> Hi,
> 
>  in check_apt :
> 
> my $aptitude_out = `aptitude -sy upgrade`;
> 
> $aptitude_out =~ /(\d+) packages upgraded/;
> 
> This will fail if the locale is set because the output message "packages
> upgraded" is valid for LANG=C.

i'm not sure where you got your version of check_apt, but ours is
written in C ... :)


        sean

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to