Last change
on this file since 480 was
476,
checked in by andersk, 17 years ago
|
Add $email variable.
|
-
Property svn:executable set to
*
|
File size:
865 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 | |
---|
[472] | 8 | my ($preva) = fetch_uri( |
---|
| 9 | 'install.php', |
---|
| 10 | {}, |
---|
| 11 | {server => $sqlhost, |
---|
| 12 | name => $sqluser, |
---|
| 13 | password => $sqlpass, |
---|
| 14 | db => $sqldb, |
---|
| 15 | prefix => 'e107_', |
---|
| 16 | stage => 3}) =~ /name='previous_steps' value='(.*)'/; |
---|
[127] | 17 | |
---|
[472] | 18 | my ($prevb) = fetch_uri( |
---|
| 19 | 'install.php', |
---|
| 20 | {}, |
---|
| 21 | {stage => 4, |
---|
| 22 | previous_steps => $preva}) =~ /name='previous_steps' value='(.*)'/; |
---|
[127] | 23 | |
---|
[472] | 24 | my ($prevc) = fetch_uri( |
---|
| 25 | 'install.php', |
---|
| 26 | {}, |
---|
| 27 | {u_name => $admin_username, |
---|
| 28 | d_name => $admin_username, |
---|
| 29 | pass1 => $admin_password, |
---|
| 30 | pass2 => $admin_password, |
---|
[476] | 31 | email => $email, |
---|
[472] | 32 | stage => 6, |
---|
| 33 | previous_steps => $prevb}) =~ /name='previous_steps' value='(.*)'/; |
---|
[127] | 34 | |
---|
[472] | 35 | fetch_uri( |
---|
| 36 | 'install.php', |
---|
| 37 | {}, |
---|
| 38 | {stage => "7", |
---|
| 39 | previous_steps => $prevc}); |
---|
[127] | 40 | |
---|
[472] | 41 | unlink 'install.php'; |
---|
Note: See
TracBrowser
for help on using the repository browser.