diff options
author | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-05-06 20:55:26 +0000 |
---|---|---|
committer | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-05-06 20:55:26 +0000 |
commit | dfa48caee7add65ee252e60dd2eba4e8a4de077e (patch) | |
tree | 7e752c8169def0d33ee92930b4030575721447cd /sbin | |
parent | 718bb8f220bda28a974de2da0cce721216d440ae (diff) | |
download | common-data-dfa48caee7add65ee252e60dd2eba4e8a4de077e.tar common-data-dfa48caee7add65ee252e60dd2eba4e8a4de077e.tar.gz common-data-dfa48caee7add65ee252e60dd2eba4e8a4de077e.tar.bz2 common-data-dfa48caee7add65ee252e60dd2eba4e8a4de077e.tar.xz common-data-dfa48caee7add65ee252e60dd2eba4e8a4de077e.zip |
* sbin/chksession: if icewm is not here by default launch twm.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/chksession | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/chksession b/sbin/chksession index d0bec64..db3bdd4 100644 --- a/sbin/chksession +++ b/sbin/chksession @@ -123,7 +123,13 @@ if ($xsession) { print $script{$xsession} } else { print "xterm -geometry 100x25+0+0 &\n"; - -x '/usr/X11R6/bin/icewm' ? print "icewm\n" : print "xterm -geometry 67x14+384+446\n"; + if ( -x '/usr/X11R6/bin/icewm' ) { + print "icewm\n"; + } elsif ( -x '/usr/X11R6/bin/twm' ) { + print "twm\n"; + } else { + print "xterm -geometry 67x14+384+446\n"; + } } exit (0); } |