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

Modified Files:
        ChangeLog Validation.pm 
Log Message:
Improved wording for scrollkeeper misuse validator warnings.


Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -d -r1.174 -r1.175
--- Validation.pm       27 Feb 2005 02:06:40 -0000      1.174
+++ Validation.pm       28 Feb 2005 19:05:07 -0000      1.175
@@ -971,7 +971,7 @@
                                foreach (qw/ postinst postrm /) {
                                        next if $_ eq "postrm" && 
$deb_control->{package} eq "scrollkeeper"; # circular dep
                                        if (not grep { 
/^\s*scrollkeeper-update/ } @{$deb_control->{$_}}) {
-                                               print "Warning: scrollkeeper 
source file found, but scrollkeeper-update not called\nin $_. See scrollkeeper 
package docs for information. Offending file:\n  $filename\n";
+                                               print "Warning: scrollkeeper 
source file found, but scrollkeeper-update not called\nin $_. See scrollkeeper 
package docs, starting with 'fink info scrollkeeper', for information. 
Offending file:\n  $filename\n";
                                                $looks_good = 0;
                                        }
                                }
@@ -1011,7 +1011,7 @@
                                close(DAEMONIC_FILE) or die "Error on close: ", 
$?>>8, " $!\n";
                        } elsif ( $filename =~ /^$basepath\/var\/scrollkeeper/ 
) {
                                if (not $scrollkeeper_misuse_warned++) {
-                                       print "Warning: Found 
$basepath/var/scrollkeeper, which usually results from 
calling\nscrollkeeper-update during CompileScript or InstallScript. See 
the\nscrollkeeper package docs for information on the correct use of that 
utility.\n";
+                                       print "Warning: Found 
$basepath/var/scrollkeeper, which usually results from 
calling\nscrollkeeper-update during CompileScript or InstallScript. See 
the\nscrollkeeper package docs, starting with 'fink info scrollkeeper', for 
information on the correct use of that utility.\n";
                                        $looks_good = 0;
                                }
                        }
@@ -1064,7 +1064,7 @@
        # scrollkeeper-update should be called from PostInstScript and 
PostRmScript
        foreach (qw/ preinst prerm /) {
                if (grep { /^\s*scrollkeeper-update/ } @{$deb_control->{$_}}) {
-                       print "Warning: scrollkeeper-update in $_ is a 
no-op\nSee scrollkeeper package docs for information.\n";
+                       print "Warning: scrollkeeper-update in $_ is a 
no-op\nSee scrollkeeper package docs, starting with 'fink info scrollkeeper', 
for information.\n";
                        $looks_good = 0;
                }
        }

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.897
retrieving revision 1.898
diff -u -d -r1.897 -r1.898
--- ChangeLog   28 Feb 2005 18:19:56 -0000      1.897
+++ ChangeLog   28 Feb 2005 19:05:07 -0000      1.898
@@ -1,3 +1,7 @@
+2005-02-28  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * Validation.pm: Improved wording for scorllkeeper misuse warnings.
+
 2005-02-28  Dave Morrison  <[EMAIL PROTECTED]>
 
        * Services.pm: Repair dumpinfo under perl 5.6 (thanks to Martin 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to