public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tomas Chvatal (scarabeus)" <scarabeus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in x11-apps/xinit/files: xdm.initd-2
Date: Mon, 31 Aug 2009 09:09:18 +0000	[thread overview]
Message-ID: <E1Mi2t4-0007Hg-Gg@stork.gentoo.org> (raw)

scarabeus    09/08/31 09:09:18

  Modified:             xdm.initd-2
  Log:
  Adjust xdm init script to die bit sane way. Per bug #207075.
  (Portage version: 2.2_rc38/cvs/Linux i686)

Revision  Changes    Path
1.3                  x11-apps/xinit/files/xdm.initd-2

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/files/xdm.initd-2?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/files/xdm.initd-2?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/files/xdm.initd-2?r1=1.2&r2=1.3

Index: xdm.initd-2
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/xdm.initd-2,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdm.initd-2	30 May 2009 17:34:21 -0000	1.2
+++ xdm.initd-2	31 Aug 2009 09:09:18 -0000	1.3
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/xdm.initd-2,v 1.2 2009/05/30 17:34:21 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/xdm.initd-2,v 1.3 2009/08/31 09:09:18 scarabeus Exp $
 
 # This is here to serve as a note to myself, and future developers.
 #
@@ -104,6 +104,11 @@
 	if ! [ -x "${EXE}" ] ; then
 		EXE=/usr/bin/xdm
 		PIDFILE=/var/run/xdm.pid
+		if ! [ -x "/usr/bin/xdm" ] ; then
+			echo "ERROR: Please set your DISPLAYMANAGER variable in /etc/conf.d/xdm,"
+			echo "	or install x11-apps/xdm package"
+			eend 255
+		fi
 	fi
 }
 






             reply	other threads:[~2009-08-31  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-31  9:09 Tomas Chvatal (scarabeus) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-11-22 23:47 [gentoo-commits] gentoo-x86 commit in x11-apps/xinit/files: xdm.initd-2 Tomas Chvatal (scarabeus)
2008-05-06  8:16 Matthias Schwarzott (zzam)

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=E1Mi2t4-0007Hg-Gg@stork.gentoo.org \
    --to=scarabeus@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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