From 77beb407f5520cc7c0ffcb8c14dd3a34fd8cad41 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Aug 2018 07:01:50 +0200 Subject: adapt to perl 5.28 - perl modules are now in /usr/LIB/perl5 (bin) or /usr/share/perl5 (noarch) - ARCH-linux-thread-multi & version is no more used in path --- tools/install-xml-file-list | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tools/install-xml-file-list') diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list index c7bed75c7..5372e7258 100755 --- a/tools/install-xml-file-list +++ b/tools/install-xml-file-list @@ -299,14 +299,22 @@ sub install { push @files, @l; } + } elsif ($expand eq 'perl-bin') { + $disallow_from_dir->(); + $from_dir = '/usr/LIB/perl5/vendor_perl/'; + @files = @text_l; } elsif ($expand eq 'perl') { $disallow_from_dir->(); - $from_dir = '/usr/lib/perl5/vendor_perl/*'; + $from_dir = '/usr/share/perl5/vendor_perl/'; @files = @text_l; } elsif ($expand eq 'main-perl') { $disallow_from_dir->(); $from_dir = $Config{privlib}; @files = @text_l; + } elsif ($expand eq 'main-perl-bin') { + $disallow_from_dir->(); + $from_dir = $Config{archlib}; + @files = @text_l; } elsif ($expand =~ /collect-perl-files/) { my (undef, $local, $to) = split(' ', $expand); -- cgit v1.2.1