Bug#600082: cron: ignores LC_CTYPE in /etc/default/locale

2010-10-13 Thread Jakub Wilk

Package: cron
Version: 3.0pl1-114
Severity: normal
Tags: patch

A typo in the init script prevents cron from respecting the LC_CTYPE 
setting. See the attached patch.


--
Jakub Wilk
diff --git a/debian/cron.init b/debian/cron.init
--- a/debian/cron.init
+++ b/debian/cron.init
@@ -40,7 +40,7 @@
 [ -r $ENV_FILE ] || continue
 [ -s $ENV_FILE ] || continue
 
- for var in LANG LANGUAGE LC_ALL LC_TYPE; do
+ for var in LANG LANGUAGE LC_ALL LC_CTYPE; do
  value=`egrep ^${var}= $ENV_FILE | tail -n1 | cut -d= -f2`
  [ -n $value ]  eval export $var=$value
 


Bug#600082: cron: ignores LC_CTYPE in /etc/default/locale

2010-10-13 Thread Christian Kastner
tags 600082 + confirmed pending
thanks

On 10/13/2010 02:08 PM, Jakub Wilk wrote:
 Package: cron
 Version: 3.0pl1-114
 Severity: normal
 Tags: patch
 
 A typo in the init script prevents cron from respecting the LC_CTYPE
 setting. See the attached patch.

Fix committed, thanks for the pointer.

Christian




signature.asc
Description: OpenPGP digital signature