[X2Go-Commits] [x2gothinclient] 04/04: only parse x2gothinclient_init with x2gothinclient-displaymanager
git-admin at x2go.org
git-admin at x2go.org
Wed Aug 27 00:44:44 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gothinclient.
commit d108f05a27354a6844ee69b047c6a50f5bcd0229
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Aug 27 00:44:36 2014 +0200
only parse x2gothinclient_init with x2gothinclient-displaymanager
---
chroot/init/x2gothinclient-chroot.init | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/chroot/init/x2gothinclient-chroot.init b/chroot/init/x2gothinclient-chroot.init
index bcd03ee..16902ba 100644
--- a/chroot/init/x2gothinclient-chroot.init
+++ b/chroot/init/x2gothinclient-chroot.init
@@ -15,7 +15,9 @@ set -e
. /lib/lsb/init-functions
# pre-init X2Go Thin Client through init script...
-test -x /etc/x2go/x2gothinclient_init && . /etc/x2go/x2gothinclient_init
+if [ -d /usr/share/doc/x2gothinclient-displaymanager ]; then
+ test -x /etc/x2go/x2gothinclient_init && . /etc/x2go/x2gothinclient_init
+fi
case "$1" in
start|"")
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git
More information about the x2go-commits
mailing list