From 375ec06f601d6caa0986f8dfa2fa5249473f543c Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 17 Apr 2012 20:31:24 +0200 Subject: [PATCH] [RigoDaemon] make the dbus service executable source /etc/profile --- rigo/RigoDaemon/dbus/RigoDaemon | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/rigo/RigoDaemon/dbus/RigoDaemon b/rigo/RigoDaemon/dbus/RigoDaemon index 632ed8376..a77e599f2 100755 --- a/rigo/RigoDaemon/dbus/RigoDaemon +++ b/rigo/RigoDaemon/dbus/RigoDaemon @@ -1,17 +1,6 @@ #!/bin/sh -lang_file="/etc/env.d/02locale" -if [ -f "${lang_file}" ]; then - . "${lang_file}" +if [ -f "/etc/profile" ]; then + . /etc/profile fi -if [ -n "${LANG}" ]; then - export LANG -fi -if [ -n "${LANGUAGE}" ]; then - export LANGUAGE -fi -if [ -n "${LC_ALL}" ]; then - export LC_ALL -fi - exec /usr/lib/rigo/RigoDaemon/app.py "$@"