mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ltspcfg: fixed suse-debian default DM check
@ 2005-03-04 17:11 Emiliano 'AlberT' Gabrielli
  2005-03-04 17:28 ` Emiliano 'AlberT' Gabrielli
  0 siblings, 1 reply; 2+ messages in thread
From: Emiliano 'AlberT' Gabrielli @ 2005-03-04 17:11 UTC (permalink / raw)
  To: linux-kernel

[-- 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 "";
     }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-04 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-04 17:11 [PATCH] ltspcfg: fixed suse-debian default DM check Emiliano 'AlberT' Gabrielli
2005-03-04 17:28 ` Emiliano 'AlberT' Gabrielli

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