From 8d715ce9d653c2fac4dc14ee9cca9def338fa44f Mon Sep 17 00:00:00 2001 From: John Johansen Date: Fri, 18 Apr 2008 21:04:54 +0000 Subject: [PATCH] make it so just reading an embedded hat doesn't cause the profile to be rewritten --- utils/SubDomain.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/SubDomain.pm b/utils/SubDomain.pm index 0600dfc74..7f98aabad 100755 --- a/utils/SubDomain.pm +++ b/utils/SubDomain.pm @@ -4507,8 +4507,9 @@ sub parse_profile_data { $profile_data->{$profile}{$hat}{initial_comment} = $initial_comment if $initial_comment; $initial_comment = ""; - # mark as changed so the profile will always be written out - $changed{$profile} = 1; + #don't mark profile as changed just because it has an embedded + #hat. + #$changed{$profile} = 1; } elsif (/^\s*\#/) { # we only currently handle initial comments