[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: shell executes only from command line
From:       John Tapsell <john () geola ! co ! uk>
Date:       2004-12-09 13:36:26
Message-ID: 200412091336.26607.john () geola ! co ! uk
[Download RAW message or body]

On Thursday 09 December 2004 06:25, Brad Hards wrote:
> On Thu, 9 Dec 2004 12:58 pm, Steven Pasternak wrote:
> > #!/bin/bash
> > kdialog --title "Nag Installation"  --yesno "Proceed With Installation?"
> > 	if [ $? = 0 ]
> > 	  then cp ./main.sh $HOME/.kde/Autostart/nag1.sh;cp ./nag64x64.png
> > $HOME/.kde/share/icons/nag
> > 	   elif [ $? = 1 ]
> > 	  then kdialog --msgbox "Maybe Later."
> > 	   else exit
> > 	fi
>
> In addition to mpyne's suggestion about what ./ means, note that the second
> $? corresponds to the second cp, not to kdialog.

I don't think so.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic