Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18783

Modified Files:
        ChangeLog PkgVersion.pm 
Log Message:
Fix a bug where %c contains stale data when that data is based on
packages that may be installed by the current fink process.


Index: PkgVersion.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/PkgVersion.pm,v
retrieving revision 1.501
retrieving revision 1.502
diff -u -d -r1.501 -r1.502
--- PkgVersion.pm       21 Dec 2005 16:43:47 -0000      1.501
+++ PkgVersion.pm       22 Dec 2005 16:35:11 -0000      1.502
@@ -918,6 +918,8 @@
        my $default_script; # Type-based script (%{default_script})
        my $field_value;    # .info field contents
 
+       $self->prepare_percent_c;  # make sure %c has the most up-to-date data
+
        if ($field eq 'patchscript') {
                return "" if $self->has_parent;  # shortcut: SplitOffs do not 
patch
                return "" if $self->is_type('dummy');  # Type:dummy never patch

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1208
retrieving revision 1.1209
diff -u -d -r1.1208 -r1.1209
--- ChangeLog   21 Dec 2005 03:35:24 -0000      1.1208
+++ ChangeLog   22 Dec 2005 16:35:11 -0000      1.1209
@@ -1,3 +1,8 @@
+2005-12-22  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * PkgVersion.pm: Make sure %c accounts for packages
+       installed/removed by the current fink process.
+
 2005-12-20  Chris Zubrzycki <[EMAIL PROTECTED]>
 
        * Services.pm: remove $notifier, should never get to that error 
condition.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to