| 
                Last change
                  on this file since 1051 was
                  476,
                  checked in by andersk, 18 years ago
           | 
        
        
          | 
            Add $email variable.
           | 
        
        
          
            
              - 
                  Property svn:executable set to
                  
*
               
             
           | 
        
        | 
            File size:
            654 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | #!/usr/bin/perl | 
|---|
| 2 | use strict; | 
|---|
| 3 | use lib '/mit/scripts/deploy/bin'; | 
|---|
| 4 | use onserver; | 
|---|
| 5 | use File::Path; | 
|---|
| 6 |  | 
|---|
| 7 | setup(); | 
|---|
| 8 |  | 
|---|
| 9 | fetch_uri( | 
|---|
| 10 |     'install/install.php', | 
|---|
| 11 |     {}, | 
|---|
| 12 |     {lang => 'english', | 
|---|
| 13 |      dbms => 'mysql4', | 
|---|
| 14 |      upgrade => 0, | 
|---|
| 15 |      dbhost => $sqlhost, | 
|---|
| 16 |      dbuser => $sqluser, | 
|---|
| 17 |      dbname => $sqldb, | 
|---|
| 18 |      dbpasswd => $sqlpass, | 
|---|
| 19 |      prefix => '', | 
|---|
| 20 |      board_email => $email, | 
|---|
| 21 |      server_name => $server, | 
|---|
| 22 |      server_port => 80, | 
|---|
| 23 |      script_path => "/~$USER/$addrend/", | 
|---|
| 24 |      admin_name => $admin_username, | 
|---|
| 25 |      admin_pass1 => $admin_password, | 
|---|
| 26 |      admin_pass2 => $admin_password, | 
|---|
| 27 |      install_step => 1, | 
|---|
| 28 |      cur_lang => 'english'}); | 
|---|
| 29 |  | 
|---|
| 30 | rmtree(['contrib', 'install']); | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.