Changeset 1d91791f for fedkit/federate.pl
- Timestamp:
- Aug 13, 2010 1:34:29 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 5c35160
- Parents:
- c2f92c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/federate.pl
rc2f92c5 r1d91791f 51 51 52 52 if ($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'; 68 57 } 69 58
Note: See TracChangeset
for help on using the changeset viewer.