home *** CD-ROM | disk | FTP | other *** search
- #! /bin/csh -f
-
- set CD_PATH=$DMTOOLSDIR/demos/RapidApp
- cd $CD_PATH
- ASK:
- AGAIN:
- echo Please select from the following:; \
- echo ; \
- echo "1. Install RapidApp"
- echo "2. Remove RapidApp"
- echo "3. Quit"
- echo "(enter 1, 2, or 3) \c"
- set ans=($<)
- if ( $ans == '3' ) exit
-
- if ( $ans == '1' ) then
- echo "You have selected to Install RapidApp."
- echo " ======="
- echo "Continue (y/n)? \c"
- set ans=($<)
- if ( $ans != 'y' ) then
- echo "Would you like to exit (y/n)? \c"
- set ans=($<)
- if ( $ans != 'y' ) then
- goto ASK
- else
- echo "Exiting..."
- echo "Press Enter to exit this window... \c"
- set a = $<
- endif
- exit
-
-
- else
- echo "Installing..."
- su root -c './InstallIt2'
- endif
- else
- if ( $ans == '2' ) then
- echo "You have selected to Remove RapidApp."
- echo " ======"
- echo "Continue (y/n)? \c"
- set ans=($<)
- if ( $ans != 'y' ) then
- echo "Would you like to exit (y/n)? \c"
- set ans=($<)
- if ( $ans != 'y' ) then
- goto ASK
- else
- echo "Exiting..."
- echo "Press Enter to exit this window... \c"
- set a = $<
- endif
- exit
-
-
- else
- echo "Removing..."
-
- su root -c './RemoveIt2'
- exit
- endif
- endif
- endif
- goto AGAIN
-
-
-