[Lunar-commits] CVS: moonbase/cd/cdrtools CONFIGURE, 1.1.1.1, 1.2

Auke Kok sofar at lunar-linux.org
Mon Sep 13 13:08:42 UTC 2004


Jan Eidtmann wrote:

>Update of /var/cvs/lunar/moonbase/cd/cdrtools
>In directory espresso.lunar-linux.org:/tmp/cvs-serv31739
>
>Modified Files:
>	CONFIGURE 
>Log Message:
>this is less confusing, hope its correct :)
>
>Index: CONFIGURE
>===================================================================
>RCS file: /var/cvs/lunar/moonbase/cd/cdrtools/CONFIGURE,v
>retrieving revision 1.1.1.1
>retrieving revision 1.2
>diff -u -d -r1.1.1.1 -r1.2
>--- CONFIGURE	21 Aug 2002 00:55:10 -0000	1.1.1.1
>+++ CONFIGURE	13 Sep 2004 12:54:47 -0000	1.2
>@@ -1,8 +1,8 @@
> if  !  grep  -q  "IDE_SCSI="  $MODULE_CONFIG;  then
> 
>-  if    query  "Will you be using an IDE burner?"  n
>-  then  echo  "IDE_SCSI=y"  >>  $MODULE_CONFIG
>-  else  echo  "IDE_SCSI=n"  >>  $MODULE_CONFIG
>+  if    query  "Will you need ide-scsi?"  n
>+  then  echo  "IDE_SCSI=n"  >>  $MODULE_CONFIG
>+  else  echo  "IDE_SCSI=y"  >>  $MODULE_CONFIG
>   fi
>

ehh I think you have the logic reversed now, just look at this code:

query() {
....
        case $RESPONSE in
            y | Y)
                true


you will want to reverse the 'IDE_SCSI=n' to '=y' and the other way 
around as well of course

sofar



More information about the Lunar-dev mailing list