aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>1999-12-22 02:08:19 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>1999-12-22 02:08:19 +0000
commita347d25db6b5c471aec82a42447d116c69484a1d (patch)
tree898d522cce36bad542476715a8da56af8f561ad2 /bin
parentdddd027ac35c1992f17af7780a08875cc9a840e5 (diff)
downloadcommon-data-a347d25db6b5c471aec82a42447d116c69484a1d.tar
common-data-a347d25db6b5c471aec82a42447d116c69484a1d.tar.gz
common-data-a347d25db6b5c471aec82a42447d116c69484a1d.tar.bz2
common-data-a347d25db6b5c471aec82a42447d116c69484a1d.tar.xz
common-data-a347d25db6b5c471aec82a42447d116c69484a1d.zip
"Seethechangelog"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fndSession68
1 files changed, 0 insertions, 68 deletions
diff --git a/bin/fndSession b/bin/fndSession
deleted file mode 100755
index 5697a2d..0000000
--- a/bin/fndSession
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-# fndSession (c) MandrakeSoft
-# Chmouel Boudjnah <chmouel@mandrakesoft.com>
-
-LIST="SessionTypes"
-
-TMP=$(/bin/mktemp /tmp/.kdm.XXXXXXX)
-
-[ -x /usr/bin/kde ] && {
-LIST="$LIST=kde"; FIRST=yes
-}
-[ -x /usr/bin/gnome-session ] && {
- if [ "$FIRST" = "yes" ];then
- LIST="$LIST;gnome"
- else
- LIST="$LIST=gnome"
- FIRST="yes"
- fi
-}
-[ -e /usr/share/apps/switchdesk/Xclients.anotherlevel ] && {
- if [ "$FIRST" = "yes" ];then
- LIST="$LIST;anotherlevel"
- else
- LIST="$LIST=anotherlevel"
- FIRST="yes"
- fi
-}
-
-[ -x /usr/X11R6/bin/wmaker ] && {
- if [ "$FIRST" = "yes" ];then
- LIST="$LIST;WindowMaker"
- else
- LIST="$LIST=WindowMaker"
- FIRST="yes"
- fi
-}
-[ -x /usr/X11R6/bin/afterstep ] && {
- if [ "$FIRST" = "yes" ];then
- LIST="$LIST;AfterStep"
- else
- LIST="$LIST=AfterStep"
- FIRST="yes"
- fi
-}
-[ -x /usr/X11R6/bin/icewm ] && {
- if [ "$FIRST" = "yes" ];then
- LIST="$LIST;Icewm"
- else
- LIST="$LIST=Icewm"
- FIRST="yes"
- fi
-}
-[ -x /usr/bin/xfce ] && {
- if [ "$FIRST" = "yes" ];then
- LIST="$LIST;Xfce"
- else
- LIST="$LIST=Xfce"
- FIRST="yes"
- fi
-}
-
-if [ $FIRST = "yes" ];then
- LIST="$LIST;default;failsafe;"
-else
- LIST="$LIST=default;failsafe;"
-fi
-sed "s/^SessionTypes.*/"$LIST"/" /usr/share/config/kdmrc > $TMP && \
-mv $TMP /usr/share/config/kdmrc