[Bio] / Sprout / FigConfigFix.pl Repository:
ViewVC logotype

Diff of /Sprout/FigConfigFix.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4, Tue Sep 16 18:53:47 2008 UTC revision 1.5, Wed Oct 15 11:42:47 2008 UTC
# Line 81  Line 81 
81          } else {          } else {
82              # We found it. Update its config file.              # We found it. Update its config file.
83              my $config_file = "$FIG_Config::nmpdr_base/$place/FIGdisk/config/FIG_Config.pm";              my $config_file = "$FIG_Config::nmpdr_base/$place/FIGdisk/config/FIG_Config.pm";
             # Determine the value we'll be putting in. If this is the current instance on  
             # the live system, the site type is null. Otherwise, it's the same as the  
             # instance type.  
             my $targat = ($options->{live} && $place eq 'cur' ? "" : "/$place");  
84              Trace("Updating $config_file.") if T(2);              Trace("Updating $config_file.") if T(2);
85              DocUtils::ModifyConfigFile($config_file, { nmpdr_site_type => "/$place" }, []);              DocUtils::ModifyConfigFile($config_file, { nmpdr_site_type => "/$place" }, []);
86          }          }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3