summaryrefslogtreecommitdiffstats
path: root/dh_installmime
diff options
context:
space:
mode:
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,