From 2e5af6bed0e763f0c9eef28ff45775e5eae79846 Mon Sep 17 00:00:00 2001 From: Udo Richter Date: Sun, 20 Sep 2009 17:11:49 +0200 Subject: Fix: Debian init script: Pull default locale --- HISTORY | 3 +++ init.d.runvdr.Debian | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/HISTORY b/HISTORY index 5d1f4e6..41000c5 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,9 @@ runvdr extreme Revision History ------------------------------- +xxxx-xx-xx: +- Fix: Debian init script: Pull default locale + 2009-06-28: Version 0.4.2 - New: Support -i and --instance of VDR-1.7.4+ - New: Command line option to set VDR_CHARSET_OVERRIDE of VDR 1.5.18+ diff --git a/init.d.runvdr.Debian b/init.d.runvdr.Debian index bc3d1f1..4cf5972 100755 --- a/init.d.runvdr.Debian +++ b/init.d.runvdr.Debian @@ -28,6 +28,10 @@ SCRIPTNAME=/etc/init.d/runvdr # Gracefully exit if the package has been removed. test -x $DAEMON || exit 0 +# Pull Debian default locale +[ -e /etc/default/locale ] && . /etc/default/locale +export LANG + # # Function that starts runvdr. # -- cgit v1.2.3