Ignore:
Timestamp:
Aug 13, 2010 1:34:29 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
5c35160
Parents:
c2f92c5
Message:

Remove support for ancient linux distros, which effectively adds support for
modern ones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/federate.pl

    rc2f92c5 r1d91791f  
    5151
    5252if ($install_smb) {
    53     # fix yum.conf
    54     copy("/etc/yum.conf", "/etc/yum.conf.bak");
    55     my $from = new IO::File("/etc/yum.conf.bak");
    56     my $to = new IO::File(">/etc/yum.conf");
    57     while (<$from>) {
    58         s/download.fedoralegacy.org/fedoralegacy.lsu.edu/g;
    59         print $to $_;
    60     }
    61     $from->close();
    62     $to->close();
    63     # Now, samba.  Because of the python dance on PG, we need to call python2.2
    64     # explicitly
    65     system('/usr/bin/python2.2 /usr/bin/yum -y install samba-client');
    66     # These tools expect the fstab to include smbfs instead
    67     $smb_type = 'smbfs';
     53    # Install samba
     54    system('/usr/bin/yum -y install samba-client');
     55    # These tools expect the fstab to include cifs
     56    $smb_type = 'cifs';
    6857}
    6958
Note: See TracChangeset for help on using the changeset viewer.