Changeset 472 for locker/deploy/bin/e107


Ignore:
Timestamp:
Oct 14, 2007, 3:32:47 PM (15 years ago)
Author:
andersk
Message:
Uncurl advancedbook, advancedpoll, e107, joomla, phpbb.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/deploy/bin/e107

    r127 r472  
    66setup();
    77
    8 totmp("-d \"server=$sqlhost&name=$sqluser&password=$sqlpass&db=$sqldbcurl&prefix=e107_&stage=3\"");
    9 my $preva=`curl -K $tmp http://$server/~$USER/$addrend/install.php 2>/dev/null | grep previous_steps | cut -d "'" -f 6`;
     8my ($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='(.*)'/;
    1017
    11 my $prevb=`curl -d "stage=4&previous_steps=$preva" http://$server/~$USER/$addrend/install.php 2>/dev/null | grep previous_steps | cut -d "'" -f 6`;
     18my ($prevb) = fetch_uri(
     19    'install.php',
     20    {},
     21    {stage => 4,
     22     previous_steps => $preva}) =~ /name='previous_steps' value='(.*)'/;
    1223
    13 totmp("-d \"u_name=$admin_username&d_name=$admin_username&pass1=$admin_password&pass2=$admin_password&email=$human\@mit.edu&stage=6&previous_steps=$prevb\"");
    14 my $prevc=`curl -K $tmp http://$server/~$USER/$addrend/install.php 2>/dev/null | grep previous_steps | cut -d "'" -f 6`;
     24my ($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,
     31     email => "$human\@mit.edu",
     32     stage => 6,
     33     previous_steps => $prevb}) =~ /name='previous_steps' value='(.*)'/;
    1534
    16 `curl -d "stage=7&previous_steps=$prevc" http://$server/~$USER/$addrend/install.php >/dev/null 2>/dev/null`;
     35fetch_uri(
     36    'install.php',
     37    {},
     38    {stage => "7",
     39     previous_steps => $prevc});
    1740
    18 `rm -rf install.php`;
     41unlink 'install.php';
Note: See TracChangeset for help on using the changeset viewer.