Perl-Dist-WiX

changeset 1078:be2b0a0b05f0

A module was removed in Locale::Codes 3.17
author Alexandr Ciornii <chorny@cpan.org>
date Mon Jul 25 14:25:15 2011 +0300 (2011-07-25)
parents f1d258df7df8
children 950e04f529c5
files lib/Perl/Dist/WiX/Mixin/BuildPerl.pm
line diff
     1.1 --- a/lib/Perl/Dist/WiX/Mixin/BuildPerl.pm	Mon Jul 25 12:51:54 2011 +0300
     1.2 +++ b/lib/Perl/Dist/WiX/Mixin/BuildPerl.pm	Mon Jul 25 14:25:15 2011 +0300
     1.3 @@ -245,6 +245,14 @@
     1.4  				$self->_install_cpan_module( $module, 1 );
     1.5  			}
     1.6  
     1.7 +			when (m{/Locale-Codes-\d}msx) {
     1.8 +
     1.9 +   # Get rid of the old Locale::Codes files that were deleted in 3.17.
    1.10 +				$self->_remove_file(
    1.11 +					qw{perl cpan Locale-Codes lib Locale Constants.pm});
    1.12 +				$self->_install_cpan_module( $module, $default_force );
    1.13 +			}
    1.14 +
    1.15  			default {
    1.16  				$self->_install_cpan_module( $module, $default_force );
    1.17  			}