Changeset 458 for locker/bin/scripts-start
- Timestamp:
- Oct 13, 2007, 9:21:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/bin/scripts-start
r154 r458 4 4 echo "What piece of software would you like to install?" 5 5 echo 6 echo 1. MediaWiki7 echo 2. WordPress8 echo 3. Joomla9 echo 4. e10710 echo 5. Gallery211 echo 6. phpBB12 echo 7. Advanced Guest Book13 echo 8. PHP iCalendar6 echo "1. MediaWiki" 7 echo "2. WordPress" 8 echo "3. Joomla" 9 echo "4. e107" 10 echo "5. Gallery2" 11 echo "6. phpBB" 12 echo "7. Advanced Guest Book" 13 echo "8. PHP iCalendar" 14 14 echo 15 15 printf "Please enter a number 1-8: " … … 18 18 19 19 attach scripts 2>/dev/null 20 if [ "$num" -eq1 ]; then21 . /mit/scripts/bin$scriptsdev/scripts-mediawiki22 elif [ "$num" -eq2 ]; then23 . /mit/scripts/bin$scriptsdev/scripts-wordpress24 elif [ "$num" -eq3 ]; then25 . /mit/scripts/bin$scriptsdev/scripts-joomla26 elif [ "$num" -eq4 ]; then27 . /mit/scripts/bin$scriptsdev/scripts-e10728 elif [ "$num" -eq5 ]; then29 . /mit/scripts/bin$scriptsdev/scripts-gallery230 elif [ "$num" -eq6 ]; then31 . /mit/scripts/bin$scriptsdev/scripts-phpbb32 elif [ "$num" -eq7 ]; then33 . /mit/scripts/bin$scriptsdev/scripts-advancedbook34 elif [ "$num" -eq8 ]; then35 . /mit/scripts/bin$scriptsdev/scripts-phpical20 if [ "$num" = 1 ]; then 21 . "/mit/scripts/bin$scriptsdev/scripts-mediawiki" 22 elif [ "$num" = 2 ]; then 23 . "/mit/scripts/bin$scriptsdev/scripts-wordpress" 24 elif [ "$num" = 3 ]; then 25 . "/mit/scripts/bin$scriptsdev/scripts-joomla" 26 elif [ "$num" = 4 ]; then 27 . "/mit/scripts/bin$scriptsdev/scripts-e107" 28 elif [ "$num" = 5 ]; then 29 . "/mit/scripts/bin$scriptsdev/scripts-gallery2" 30 elif [ "$num" = 6 ]; then 31 . "/mit/scripts/bin$scriptsdev/scripts-phpbb" 32 elif [ "$num" = 7 ]; then 33 . "/mit/scripts/bin$scriptsdev/scripts-advancedbook" 34 elif [ "$num" = 8 ]; then 35 . "/mit/scripts/bin$scriptsdev/scripts-phpical" 36 36 else 37 echo ERROR:38 echo You must enter a number 1 through 8.37 echo "ERROR:" 38 echo "You must enter a number 1 through 8." 39 39 exit 1 40 40 fi
Note: See TracChangeset
for help on using the changeset viewer.