summaryrefslogtreecommitdiffstats
path: root/tools/install-xml-file-list
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-08-09 07:01:50 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-08-09 07:18:05 +0200
commit77beb407f5520cc7c0ffcb8c14dd3a34fd8cad41 (patch)
tree76da9fe98e95e924923c9f6ab43ec6cea84ce78b /tools/install-xml-file-list
parent7c616aa82075ca887dbc8b6c1b33b65a8bfeebb0 (diff)
downloaddrakx-77beb407f5520cc7c0ffcb8c14dd3a34fd8cad41.tar
drakx-77beb407f5520cc7c0ffcb8c14dd3a34fd8cad41.tar.gz
drakx-77beb407f5520cc7c0ffcb8c14dd3a34fd8cad41.tar.bz2
drakx-77beb407f5520cc7c0ffcb8c14dd3a34fd8cad41.tar.xz
drakx-77beb407f5520cc7c0ffcb8c14dd3a34fd8cad41.zip
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
Diffstat (limited to 'tools/install-xml-file-list')
-rwxr-xr-xtools/install-xml-file-list10
1 files changed, 9 insertions, 1 deletions
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);