diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 10:17:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 10:17:26 +0000 |
commit | 36b03e2bee4497aef85033f4f900f5d89d5dc55e (patch) | |
tree | ec9a0e0972bd08cc628efaa53161b44f9361dd37 /dh_installmime | |
parent | Adding debian version 13.16. (diff) | |
download | debhelper-36b03e2bee4497aef85033f4f900f5d89d5dc55e.tar.xz debhelper-36b03e2bee4497aef85033f4f900f5d89d5dc55e.zip |
Merging upstream version 13.17.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dh_installmime')
-rwxr-xr-x | dh_installmime | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/dh_installmime b/dh_installmime index 5ad6190..fff9902 100755 --- a/dh_installmime +++ b/dh_installmime @@ -46,13 +46,28 @@ init(); foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); - my $mime=pkgfile($package,"mime"); + my $mime = pkgfile( + { + 'named' => 0, + 'support-architecture-restriction' => 0, + }, + $package, + "mime", + ); if ($mime ne '') { install_dir("$tmp/usr/lib/mime/packages"); install_file($mime, "$tmp/usr/lib/mime/packages/$package"); } - my $sharedmimeinfo=pkgfile($package,"sharedmimeinfo"); + my $sharedmimeinfo = pkgfile( + { + 'named' => 0, + 'support-architecture-restriction' => 0, + }, + $package, + "sharedmimeinfo", + ); + if ($sharedmimeinfo ne '') { install_dir("$tmp/usr/share/mime/packages"); install_file($sharedmimeinfo, |