Lines 40-46
my %ignore = (
Link Here
|
40 |
|
40 |
|
41 |
my $deps = $C4::Installer::PerlDependencies::PERL_DEPS; |
41 |
my $deps = $C4::Installer::PerlDependencies::PERL_DEPS; |
42 |
|
42 |
|
43 |
my $prefix = "^/usr/((lib|share)/perl5|(lib|share)/perl/[0-9.]+|(lib|share)/.*-linux-gnu.*/perl/[0-9.]+|(lib|share)/.*-linux-gnu.*/perl5/[0-9.]+)"; |
43 |
|
|
|
44 |
# for $prefix we need to match different folder structures depending on |
45 |
# distribution and perl version |
46 |
# |
47 |
# examples that the following regex needs to match: |
48 |
# /usr/lib/x86_64-linux-gnu/perl/5.20.2/POSIX.pm |
49 |
# /usr/lib/perl/5.14.2/POSIX.pm |
50 |
# /usr/lib/perl5/POSIX.pm |
51 |
# /usr/lib/x86_64-linux-gnu/perl5/5.20/YAML/Syck.pm |
52 |
|
53 |
my $prefix = "^/usr/((lib|share)/(.*-linux-gnu/)?perl5?/?[0-9.]+)?"; |
44 |
|
54 |
|
45 |
foreach my $module ( keys %$deps ) { |
55 |
foreach my $module ( keys %$deps ) { |
46 |
next if $ignore{$module}; |
56 |
next if $ignore{$module}; |
47 |
- |
|
|