Perl-Dist-WiX

changeset 1086:22c17404dfeb tip

correct place for removal of removed Locale::Codes module
author Alexandr Ciornii <alexchorny@gmail.com>
date Fri Oct 21 19:18:29 2011 +0300 (2011-10-21)
parents f93dbbf41d98
children
files lib/Perl/Dist/WiX/Mixin/BuildPerl.pm
line diff
     1.1 --- a/lib/Perl/Dist/WiX/Mixin/BuildPerl.pm	Thu Oct 20 02:37:40 2011 +0300
     1.2 +++ b/lib/Perl/Dist/WiX/Mixin/BuildPerl.pm	Fri Oct 21 19:18:29 2011 +0300
     1.3 @@ -152,6 +152,9 @@
     1.4  		$self->make_path($sources_dir);
     1.5  	}
     1.6  
     1.7 +	# Get rid of the old Locale::Codes files that were deleted in 3.17.
     1.8 +	$self->_remove_file(qw{perl lib Locale Constants.pm});
     1.9 +
    1.10  	# Get list of modules to be upgraded.
    1.11  	# (The list is saved as a Storable arrayref of CPAN::Module objects.)
    1.12  	my $cpan_info_file = $self->_get_cpan_upgrades_list();
    1.13 @@ -253,14 +256,6 @@
    1.14  
    1.15  			}
    1.16  
    1.17 -			when (m{/Locale-Codes-\d}msx) {
    1.18 -
    1.19 -   # Get rid of the old Locale::Codes files that were deleted in 3.17.
    1.20 -				$self->_remove_file(
    1.21 -					qw{perl cpan Locale-Codes lib Locale Constants.pm});
    1.22 -				$self->_install_cpan_module( $module, $default_force );
    1.23 -			}
    1.24 -
    1.25  			default {
    1.26  				$self->_install_cpan_module( $module, $default_force );
    1.27  			}