perl-CPAN/CPAN-2.18-Add-notes-about-first-configuration.patch
2025-02-28 11:02:03 +01:00

23 lines
792 B
Diff

Add notes about the first configuration and about creating site repository
which is specific for Fedora/RHEL.
diff -up CPAN-2.16/scripts/cpan.orig CPAN-2.16/scripts/cpan
--- CPAN-2.16/scripts/cpan.orig 2025-02-28 10:03:24.046432731 +0100
+++ CPAN-2.16/scripts/cpan 2025-02-28 10:51:34.442369826 +0100
@@ -297,6 +297,15 @@ not control. For now, the exit codes are
8 A module failed to install
+=head1 NOTES
+
+If the configuration is not defined when C<cpan> is used for the first
+time, CPAN::Config initialization is triggered using L<CPAN::FirstTime>.
+This step is skipped only when using the C<-h> option.
+
+If the user has write permissions to /usr/local, site library repositories
+may also be created.
+
=head1 TO DO
* one shot configuration values from the command line