mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH 2/2] Export LANG environment variable for systemd
Date: Tue, 16 Feb 2016 15:38:34 +0100	[thread overview]
Message-ID: <1455633514-12974-2-git-send-email-clemens.gruber@pqgruber.com> (raw)
In-Reply-To: <1455633514-12974-1-git-send-email-clemens.gruber@pqgruber.com>

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 projectroot/etc/profile.d/systemd.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/projectroot/etc/profile.d/systemd.sh b/projectroot/etc/profile.d/systemd.sh
index f51d8b9..c4aa9b3 100644
--- a/projectroot/etc/profile.d/systemd.sh
+++ b/projectroot/etc/profile.d/systemd.sh
@@ -1,2 +1,9 @@
+#!/bin/sh
+
+if [ -r /etc/locale.conf ]; then
+  . /etc/locale.conf
+  export LANG
+fi
+
 # set 'r', otherwise less breaks UTF-8 chars without UTF-8 locale
 export SYSTEMD_LESS="FrSXMK"
-- 
2.7.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2016-02-16 14:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 14:38 [ptxdist] [PATCH 1/2] procps: bump version to 3.3.11 and update paths Clemens Gruber
2016-02-16 14:38 ` Clemens Gruber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455633514-12974-2-git-send-email-clemens.gruber@pqgruber.com \
    --to=clemens.gruber@pqgruber.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox