Last change
on this file since 129 was
127,
checked in by jbarnold, 18 years ago
|
old copies of locker software
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Rev | Line | |
---|
[127] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | echo |
---|
| 4 | echo "What piece of software would you like to install?" |
---|
| 5 | echo |
---|
| 6 | 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. Advanced Poll |
---|
| 14 | echo 9. PHP iCalendar |
---|
| 15 | echo |
---|
| 16 | printf "Please enter a number 1-9: " |
---|
| 17 | read num |
---|
| 18 | echo |
---|
| 19 | |
---|
| 20 | attach scripts 2>/dev/null |
---|
| 21 | if [ "$num" -eq 1 ]; then |
---|
| 22 | . /mit/scripts/bin$scriptsdev/scripts-mediawiki |
---|
| 23 | elif [ "$num" -eq 2 ]; then |
---|
| 24 | . /mit/scripts/bin$scriptsdev/scripts-wordpress |
---|
| 25 | elif [ "$num" -eq 3 ]; then |
---|
| 26 | . /mit/scripts/bin$scriptsdev/scripts-joomla |
---|
| 27 | elif [ "$num" -eq 4 ]; then |
---|
| 28 | . /mit/scripts/bin$scriptsdev/scripts-e107 |
---|
| 29 | elif [ "$num" -eq 5 ]; then |
---|
| 30 | . /mit/scripts/bin$scriptsdev/scripts-gallery2 |
---|
| 31 | elif [ "$num" -eq 6 ]; then |
---|
| 32 | . /mit/scripts/bin$scriptsdev/scripts-phpbb |
---|
| 33 | elif [ "$num" -eq 7 ]; then |
---|
| 34 | . /mit/scripts/bin$scriptsdev/scripts-advancedbook |
---|
| 35 | elif [ "$num" -eq 8 ]; then |
---|
| 36 | . /mit/scripts/bin$scriptsdev/scripts-advancedpoll |
---|
| 37 | elif [ "$num" -eq 9 ]; then |
---|
| 38 | . /mit/scripts/bin$scriptsdev/scripts-phpical |
---|
| 39 | else |
---|
| 40 | echo ERROR: |
---|
| 41 | echo You must enter a number 1 through 9. |
---|
| 42 | exit 1 |
---|
| 43 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.