summaryrefslogtreecommitdiffstats
path: root/dh_installmime
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:26 +0000
commit36b03e2bee4497aef85033f4f900f5d89d5dc55e (patch)
treeec9a0e0972bd08cc628efaa53161b44f9361dd37 /dh_installmime
parentAdding debian version 13.16. (diff)
downloaddebhelper-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-xdh_installmime19
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,