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

