[Lunar-commits] CVS: theedge/sbin lunar,1.25,1.26

Auke Kok sofar at lunar-linux.org
Mon Feb 23 22:11:55 GMT 2004


Update of /var/cvs/lunar/theedge/sbin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv7288/sbin

Modified Files:
	lunar 
Log Message:
Fix for #446


Index: lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lunar,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- lunar	4 Oct 2003 20:19:43 -0000	1.25
+++ lunar	23 Feb 2004 22:11:53 -0000	1.26
@@ -191,15 +191,16 @@
       INSTALLED_MODULES=$(show_installed_modules)
     fi
 
-    MODULE=`$DIALOG --title "Select module to remove please." \
+    unset MODULE
+    MODULE=`$DIALOG --title "Select module to remove:" \
                     --item-help                               \
                     --ok-label      "Select"                  \
                     --cancel-label  "Exit"                    \
                     --menu  "" 0 60 10                        \
                     $INSTALLED_MODULES`
   do
-    DESCRIPTION="Description unavailable"
-    run_module_file $MODULE DETAILS
+   (
+    DESCRIPTION=$(run_module_file $MODULE DETAILS)
 
     if  $DIALOG  --title      "Removal $MODULE"  \
                  --yesno      "$DESCRIPTION"    \
@@ -209,6 +210,7 @@
       $DIALOG  --msgbox  "$MODULE added to the remove queue."  0 0  ||
       $DIALOG  --msgbox  "$MODULE is not really installed?"    0 0
     fi
+   )
   done
 }
 



More information about the Lunar-commits mailing list