Bug#502116: vdradmin-am: [ctvdr?][patch] locale and codeset errors - initscript still using /etc/environment

tom schorpp thomas.schorpp at googlemail.com
Mon Oct 13 17:31:08 UTC 2008


Package: vdradmin-am
Version: 3.6.2-1
Severity: important
Tags: patch l10n

wrong charset display.

--- /etc/init.d/vdradmin-am	2008-10-13 18:48:07.000000000 +0200
+++ /etc/init.d/vdradmin-am	2008-10-13 18:49:35.000000000 +0200
@@ -51,10 +51,10 @@
 
 init_language_environment()
 {
-    if [ -f /etc/environment ]
+    if [ -f /etc/default/locale ]
     then
          for var in LANG LC_ALL LC_CTYPE ; do
-	     value=$(egrep "^[^#]*${var}=" /etc/environment | tail -n1 | cut -d= -f2)
+	     value=$(egrep "^[^#]*${var}=" /etc/default/locale | tail -n1 | cut -d= -f2)
 	     eval $var=$value
 	 done
     fi

y
tom

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26.5 (PREEMPT)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages vdradmin-am depends on:
ii  adduser                   3.110          add and remove users and groups
ii  libcompress-zlib-perl     2.012-1        Perl module for creation and manip
ii  libio-socket-inet6-perl   2.54-1         Object interface for AF_INET6 doma
ii  liblocale-gettext-perl    1.05-4         Using libc functions for internati
ii  libsocket6-perl           0.20-1         Perl extensions for IPv6
ii  libtemplate-perl          2.19-1.1lenny1 template processing system written
ii  liburi-perl               1.35.dfsg.1-1  Manipulates and accesses URI strin
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip
ii  perl                      5.10.0-15      Larry Wall's Practical Extraction 

vdradmin-am recommends no packages.

Versions of packages vdradmin-am suggests:
ii  libauthen-sasl-perl        2.12-1        Authen::SASL - SASL Authentication
ii  vdr                        1.6.0-6ctvdr2 Video Disk Recorder for DVB cards
ii  vdr-plugin-epgsearch       0.9.24-3      VDR plugin that provides extensive

-- no debconf information





More information about the pkg-vdr-dvb-devel mailing list