summaryrefslogtreecommitdiff
path: root/dh_desktop
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-31 14:09:08 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-31 14:09:08 -0400
commitf2c0117a7d1585401dea0cad7a23b59c3b311681 (patch)
tree6c4dac084dc0c29338651032efd9ba0d470a7c11 /dh_desktop
parent149ca00b8ad088055d2d3b0bc3906f5290200394 (diff)
dh_desktop: Avoid using find -execdir as it will fail with certian badly configured PATHs (and is not a benefit in this context anyway). Closes: #521960
Diffstat (limited to 'dh_desktop')
-rwxr-xr-xdh_desktop2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_desktop b/dh_desktop
index 1b32fc99..79001523 100755
--- a/dh_desktop
+++ b/dh_desktop
@@ -36,7 +36,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# usr/share/applications and thus might need
# update-desktop-database be called. Other desktop
# files don't.
- my $desktop_files = `find $tmp/usr/share/applications -type f -name \\*.desktop -execdir grep -q "^MimeType" '{}' \\; -printf '%p\n'`;
+ my $desktop_files = `find $tmp/usr/share/applications -type f -name \\*.desktop -exec grep -q "^MimeType" '{}' \\; -printf '%p\n'`;
if ($desktop_files && ! $dh{NOSCRIPTS}) {
autoscript($package,"postinst","postinst-desktop");
autoscript($package,"postrm","postrm-desktop");