Skip to content

Commit

Permalink
Change postinstall reconfigure_defaults to delete
Browse files Browse the repository at this point in the history
Changes postinstall .reconfigure_defaults touch to overwrite instead
of appending, per PR comment.
  • Loading branch information
rob05c committed Mar 22, 2016
1 parent 68a9dc6 commit b6d42fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic_ops/install/bin/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ sub profiles_exist {
foreach my $profile (@$profiles_response) {
if ( !exists $initial_profiles{ $profile->{"name"} } ) {
print "Found existing profile (" . $profile->{"name"} . ")\n";
open( my $reconfigure_defaults_file, '>>', $reconfigure_defaults ) or die("Failed to open() $reconfigure_defaults: $!");
open( my $reconfigure_defaults_file, '>', $reconfigure_defaults ) or die("Failed to open() $reconfigure_defaults: $!");
close( $reconfigure_defaults_file );
return 1;
}
Expand Down

0 comments on commit b6d42fb

Please sign in to comment.