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.

Possible fix :

my $aptitude_out = `LANG=C aptitude -sy upgrade`;

Sebastien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to