source: locker/deploy/bin/mediawiki @ 456

Last change on this file since 456 was 456, checked in by quentin, 15 years ago
mediawiki 1.11 installer + improvements to installer system
  • Property svn:executable set to *
File size: 753 bytes
Line 
1#!/usr/bin/perl
2use strict;
3use lib '/mit/scripts/deploydev/bin';
4use onserver;
5
6setup();
7
8`cp skins/common/images/mediawiki.png skins/common/images/wiki.png`;
9
10print "\nPlease decide upon a title for your wiki and enter it below.\n";
11print "Desired title: ";
12my $title=<STDIN>;
13chomp($title);
14totmp("-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 -p1 < /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.