source: locker/bin/scripts-start @ 976

Last change on this file since 976 was 703, checked in by price, 16 years ago
trac autoinstaller: update scripts-start
  • Property svn:executable set to *
File size: 1.1 KB
RevLine 
[127]1#!/bin/sh
2
3echo
4echo "What piece of software would you like to install?"
5echo
[458]6echo "1. MediaWiki"
7echo "2. WordPress"
8echo "3. Joomla"
9echo "4. e107"
10echo "5. Gallery2"
11echo "6. phpBB"
12echo "7. Advanced Guest Book"
13echo "8. PHP iCalendar"
[703]14echo "9. Trac"
[127]15echo
[703]16printf "Please enter a number 1-9: "
[127]17read num
18echo
19
20attach scripts 2>/dev/null
[458]21if [ "$num" = 1 ]; then
22  . "/mit/scripts/bin$scriptsdev/scripts-mediawiki"
23elif [ "$num" = 2 ]; then
24  . "/mit/scripts/bin$scriptsdev/scripts-wordpress"
25elif [ "$num" = 3 ]; then
26  . "/mit/scripts/bin$scriptsdev/scripts-joomla"
27elif [ "$num" = 4 ]; then
28  . "/mit/scripts/bin$scriptsdev/scripts-e107"
29elif [ "$num" = 5 ]; then
30  . "/mit/scripts/bin$scriptsdev/scripts-gallery2"
31elif [ "$num" = 6 ]; then
32  . "/mit/scripts/bin$scriptsdev/scripts-phpbb"
33elif [ "$num" = 7 ]; then
34  . "/mit/scripts/bin$scriptsdev/scripts-advancedbook"
35elif [ "$num" = 8 ]; then
36  . "/mit/scripts/bin$scriptsdev/scripts-phpical"
[703]37elif [ "$num" = 9 ]; then
38  . "/mit/scripts/bin$scriptsdev/scripts-trac"
[127]39else
[458]40  echo "ERROR:"
[703]41  echo "You must enter a number 1 through 9."
[127]42  exit 1
43fi
Note: See TracBrowser for help on using the repository browser.