From: jean-pierre roux Date: Mon, 7 Feb 2011 18:58:52 +0000 (+0000) Subject: Add Help option in menu X-Git-Tag: Creatools2-0-3.creaToolsTools2-0-3.17Feb2011~10 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=198af0e299f7b2b161168fddbdeea684c1cf6d78;p=creaToolsTools.git Add Help option in menu --- diff --git a/Linux/README.txt b/Linux/README.txt index 0485d88..640e183 100644 --- a/Linux/README.txt +++ b/Linux/README.txt @@ -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. diff --git a/Linux/menu.sh b/Linux/menu.sh index e76a0d2..0b0f976 100644 --- a/Linux/menu.sh +++ b/Linux/menu.sh @@ -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