summaryrefslogtreecommitdiff
path: root/dh_installmime
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installmime')
-rwxr-xr-xdh_installmime5
1 files changed, 3 insertions, 2 deletions
diff --git a/dh_installmime b/dh_installmime
index d44c915..3360250 100755
--- a/dh_installmime
+++ b/dh_installmime
@@ -38,10 +38,12 @@ directory.
init();
+# PROMISE: DH NOOP WITHOUT mime sharedmimeinfo
+
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
+
my $mime=pkgfile($package,"mime");
-
if ($mime ne '') {
if (! -d "$tmp/usr/lib/mime/packages") {
doit("install","-d","$tmp/usr/lib/mime/packages");
@@ -50,7 +52,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
my $sharedmimeinfo=pkgfile($package,"sharedmimeinfo");
-
if ($sharedmimeinfo ne '') {
if (! -d "$tmp/usr/share/mime/packages") {
doit("install", "-d", "$tmp/usr/share/mime/packages");