From 3a0322bf9232a964e6c7da1d34f0e47e98f83571 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Sun, 19 Dec 1999 18:55:28 +0000 Subject: "Seethechangelog" --- bin/fndSession | 6 ++++-- mandrake_desk.spec | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/fndSession b/bin/fndSession index baf45da..5697a2d 100755 --- a/bin/fndSession +++ b/bin/fndSession @@ -4,6 +4,8 @@ LIST="SessionTypes" +TMP=$(/bin/mktemp /tmp/.kdm.XXXXXXX) + [ -x /usr/bin/kde ] && { LIST="$LIST=kde"; FIRST=yes } @@ -62,5 +64,5 @@ if [ $FIRST = "yes" ];then else LIST="$LIST=default;failsafe;" fi -sed "s/^SessionTypes.*/"$LIST"/" /usr/share/config/kdmrc > /tmp/$$.kdmrc && \ -mv /tmp/$$.kdmrc /usr/share/config/kdmrc +sed "s/^SessionTypes.*/"$LIST"/" /usr/share/config/kdmrc > $TMP && \ +mv $TMP /usr/share/config/kdmrc diff --git a/mandrake_desk.spec b/mandrake_desk.spec index 0109416..1d7cb88 100644 --- a/mandrake_desk.spec +++ b/mandrake_desk.spec @@ -10,6 +10,8 @@ Copyright: GPL Group: Base Icon: mandrake-small.xpm BuildRoot: /tmp/%{name}-buildroot +# get the source from our cvs repository (see +# http://www.linuxmandrake.com/en/cvs.php3) Source: mandrake_desk-%{version}.tar.bz2 BuildArchitectures: noarch BuildRequires: /usr/X11R6/bin/convert -- cgit v1.2.1