From: "Emiliano 'AlberT' Gabrielli" <AlberT@SuperAlberT.it>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] ltspcfg: fixed suse-debian default DM check
Date: Fri, 4 Mar 2005 18:11:07 +0100 [thread overview]
Message-ID: <200503041811.07832.AlberT@SuperAlberT.it> (raw)
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
the attached patch fixes wrong "default DM" check in debian and suse
plz apply
--
<?php echo ' Emiliano `AlberT` Gabrielli ',"\n",
' E-Mail: AlberT_AT_SuperAlberT_it ',"\n",
' Web: http://SuperAlberT.it ',"\n",
' IRC: #php,#AES azzurra.com ',"\n",'ICQ: 158591185'; ?>
[-- Attachment #2: ltspcfg_suse-deb-dmfile-fix.patch --]
[-- Type: text/x-diff, Size: 729 bytes --]
--- /usr/sbin/ltspcfg.orig 2005-03-04 17:00:45.521484448 +0100
+++ /usr/sbin/ltspcfg 2005-03-04 18:22:33.776316296 +0100
@@ -2253,8 +2253,8 @@
#
# If it doesn't look like a SuSE system, then exit this routine
#
- if ( ! -f "/etc/sysconfig/displaymanager"
- || ! -f "/etc/rc.d/xdm" ){
+ if ( ! -f "/etc/sysconfig/displaymanager" and
+ ! -f "/etc/rc.d/xdm" ){
return "";
}
@@ -2327,8 +2327,8 @@
#
# If it doesn't look like a Debian system, then exit this routine
#
- if ( ! -f "/etc/X11/default-display-manager"
- || ! -f "/etc/init.d/xdm" ){
+ if ( ! -f "/etc/X11/default-display-manager" and
+ ! -f "/etc/init.d/xdm" ){
return "";
}
next reply other threads:[~2005-03-04 17:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-04 17:11 Emiliano 'AlberT' Gabrielli [this message]
2005-03-04 17:28 ` Emiliano 'AlberT' Gabrielli
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=200503041811.07832.AlberT@SuperAlberT.it \
--to=albert@superalbert.it \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome