Changeset 476 for locker/deploy


Ignore:
Timestamp:
Oct 14, 2007, 6:12:32 PM (15 years ago)
Author:
andersk
Message:
Add $email variable.
Location:
locker/deploy/bin
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • locker/deploy/bin/advancedbook

    r472 r476  
    1515$a =~ s/dbpass/$sqlpass/g;
    1616$a =~ s/guestbookdb/$sqldb/g;
    17 $a =~ s/useremail/$human\@mit.edu/g;
     17$a =~ s/useremail/$email/g;
    1818open(FILE, ">admin/config.inc.php");
    1919print FILE $a;
  • locker/deploy/bin/e107

    r472 r476  
    2929     pass1 => $admin_password,
    3030     pass2 => $admin_password,
    31      email => "$human\@mit.edu",
     31     email => $email,
    3232     stage => 6,
    3333     previous_steps => $prevb}) =~ /name='previous_steps' value='(.*)'/;
  • locker/deploy/bin/gallery2

    r475 r476  
    4949           action => 'create',
    5050           passwordB => $admin_password,
    51            email => "$human\@mit.edu",
     51           email => $email,
    5252           fullName => $USER});
    5353fetch_uri('install/index.php', {step => 7}, {});
  • locker/deploy/bin/joomla

    r474 r476  
    3535     siteUrl => $base_uri,
    3636     absolutePath => getcwd(),
    37      adminEmail => "$human\@mit.edu",
     37     adminEmail => $email,
    3838     adminPassword => $admin_password,
    3939     filePerms => 0,
  • locker/deploy/bin/mediawiki

    r470 r476  
    1818    {},
    1919    {Sitename => $title,
    20      EmergencyContact => "$USER\@mit.edu",
     20     EmergencyContact => $email,
    2121     LanguageCode => 'en',
    2222     DBserver => $sqlhost,
     
    2525     DBpassword => $sqlpass,
    2626     DBpassword2 => $sqlpass,
    27      defaultEmail => "$USER\@mit.edu",
     27     defaultEmail => $email,
    2828     SysopName => $admin_username,
    2929     SysopPass => $admin_password,
  • locker/deploy/bin/onserver.pm

    r475 r476  
    1111use URI;
    1212our @ISA = qw(Exporter);
    13 our @EXPORT = qw(setup totmp fetch_uri print_login_info press_enter $server $tmp $USER $HOME $sname $deploy $addrend $base_uri $ua $admin_username $requires_sql $addrlast $sqlhost $sqluser $sqlpass $sqldb $sqldbcurl $admin_password $scriptsdev $human);
     13our @EXPORT = qw(setup totmp fetch_uri print_login_info press_enter $server $tmp $USER $HOME $sname $deploy $addrend $base_uri $ua $admin_username $requires_sql $addrlast $sqlhost $sqluser $sqlpass $sqldb $admin_password $scriptsdev $human $email);
    1414
    1515our $server = "scripts.mit.edu";
    1616
    17 our ($tmp, $USER, $HOME, $sname, $deploy, $addrend, $base_uri, $ua, $admin_username, $requires_sql, $addrlast, $sqlhost, $sqluser, $sqlpass, $sqldb, $sqldbcurl, $admin_password, $scriptsdev, $human);
     17our ($tmp, $USER, $HOME, $sname, $deploy, $addrend, $base_uri, $ua, $admin_username, $requires_sql, $addrlast, $sqlhost, $sqluser, $sqlpass, $sqldb, $admin_password, $scriptsdev, $human, $email);
    1818
    1919$tmp = ".scripts-tmp";
     
    8080  ($sname, $deploy, $addrend, $admin_username, $requires_sql, $scriptsdev, $human) = @ARGV;
    8181  chdir "$HOME/web_scripts/$addrend";
     82  $email = "$human\@mit.edu";
    8283 
    8384  if($addrend =~ /^(.*)\/$/) {
     
    111112      exit 1;
    112113    }
    113     $sqldbcurl = $sqldb;
    114     $sqldbcurl =~ s/\+/\%2B/;
    115114  }
    116115 
  • locker/deploy/bin/phpbb

    r474 r476  
    1818     dbpasswd => $sqlpass,
    1919     prefix => '',
    20      board_email => "$human\@mit.edu",
     20     board_email => $email,
    2121     server_name => $server,
    2222     server_port => 80,
  • locker/deploy/bin/wordpress

    r469 r476  
    2121    {step => 2},
    2222    {weblog_title => 'My Blog',
    23      admin_email => "$human\@mit.edu",
     23     admin_email => $email,
    2424     submit => 'Continue',
    2525     step => 2});
Note: See TracChangeset for help on using the changeset viewer.