]> Creatis software - creaToolsTools.git/commitdiff
Add Help option in menu
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 7 Feb 2011 18:58:52 +0000 (18:58 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 7 Feb 2011 18:58:52 +0000 (18:58 +0000)
Linux/README.txt
Linux/menu.sh

index 0485d88d6b009f04c6e60a2fcd9a327520bd9aa2..640e18389432988f3aad3b625821234aea175002 100644 (file)
@@ -1,6 +1,7 @@
-1) switch as root
 
-2) sh menu.sh
+A) switch as root
+
+B) sh menu.sh
 
 You will be prompted to say what you want to do :
 
@@ -10,12 +11,13 @@ You will be prompted to say what you want to do :
  Compile   the CreaTools :..........3 
  Install   the CreaTools :..........4 (as root)
  Uninstall the CreaTools :..........5 (as root)
-
+ Help ..............................7 Help about this menu
  Show some Environment Variables ...8
  Exit :.............................9
 
 
-3) Choose 'Configure' (0)
+C) Choose 'Configure' (0)
 
 You will be prompted to give your preferences :
 
@@ -30,17 +32,18 @@ You will be prompted to give your preferences :
 "Build type : Release/Debug (default is Release)"
 "Gdcm version : GDCM1/GDCM2 (default is GDCM1)"
 
-4) If 'Third Party Libraries' are not yet installed,
+D) If 'Third Party Libraries' are not yet installed,
 choose 'Install Third Party Libraries' (1)
 
-5) Close the window and open a new one.
+E) Close the window and open a new one.
    switch as root again
    sh menu.sh
    
-6a) Choose Get the CreaTools source files ' (2)   
-6b) Choose 'Compile the CreaTools' (2)
+F) Choose Get the CreaTools source files ' (2)
+   
+G) Choose 'Compile the CreaTools' (3)
 
-7) Choose 'Install the CreaTools' (3)
+H) Choose 'Install the CreaTools' (4)
 
-8) Close the window and open a new one.
+I) Close the window and open a new one.
    You can work, now.
index e76a0d206b9723af0ae25a2bf8ecbfd7aded64d5..0b0f976c4f3b378082a5c95186c2eb748faf2d32 100644 (file)
@@ -23,6 +23,7 @@ do
    echo " Install   the CreaTools :..........4 (as root)"
    echo " Uninstall the CreaTools :..........5 (as root)"
    echo
+   echo " Help ..............................7 Help about this menu"   
    echo " Show some Environment Variables ...8"
    echo " Exit :.............................9"
   echo
@@ -415,7 +416,7 @@ do
       echo "========================= 4"
       sh scripts/CreaTools-install.sh 
      echo
-     echo "==> Hit any key to exit close current window" 
+     echo "==> Hit any key to close current window" 
      read a
      kill $PPID        
   ;;
@@ -425,9 +426,17 @@ do
      sh scripts/CreaTools-uninstall.sh
   ;;
 
+  7)
+     clear
+     echo "==================================="
+     more README.txt
+      echo
+     echo "==> Hit any key to go on" 
+     read a
+  ;;
+         
   8)
      clear
-  
      echo "==================================="
      
      # WARNING : $installPrefixThird is taken from CreaTools-configure.sh