|
Last change
on this file since 369 was
127,
checked in by jbarnold, 19 years ago
|
|
old copies of locker software
|
-
Property svn:executable set to
*
|
|
File size:
763 bytes
|
| Rev | Line | |
|---|
| [127] | 1 | #!/usr/bin/perl |
|---|
| 2 | use strict; |
|---|
| 3 | use lib '/mit/scripts/deploy/bin'; |
|---|
| 4 | use onserver; |
|---|
| 5 | |
|---|
| 6 | setup(); |
|---|
| 7 | |
|---|
| 8 | `cp skins/common/images/mediawiki.png skins/common/images/wiki.png`; |
|---|
| 9 | |
|---|
| 10 | print "\nPlease decide upon a title for your wiki and enter it below.\n"; |
|---|
| 11 | print "Desired title: "; |
|---|
| 12 | my $title=<STDIN>; |
|---|
| 13 | chomp($title); |
|---|
| 14 | totmp("-d \"Sitename=$title&EmergencyContact=$USER\@mit.edu&LanguageCode=en&DBserver=$sqlhost&DBname=$sqldbcurl&DBuser=$sqluser&DBpassword=$sqlpass&DBpassword2=$sqlpass&defaultEmail=$USER\@mit.edu&SysopName=$admin_username&SysopPass=$admin_password&SysopPass2=$admin_password\""); |
|---|
| 15 | `curl -K $tmp http://$server/~$USER/$addrend/config/index.php`; |
|---|
| 16 | `patch includes/Setup.php /mit/scripts/deploy/mediawiki.patch >/dev/null`; |
|---|
| 17 | `cp config/LocalSettings.php .`; |
|---|
| 18 | `rm -rf contrib`; |
|---|
Note: See
TracBrowser
for help on using the repository browser.