diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-03-31 14:09:08 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-03-31 14:09:08 -0400 |
commit | f2c0117a7d1585401dea0cad7a23b59c3b311681 (patch) | |
tree | 6c4dac084dc0c29338651032efd9ba0d470a7c11 /dh_desktop | |
parent | 149ca00b8ad088055d2d3b0bc3906f5290200394 (diff) | |
download | debhelper-f2c0117a7d1585401dea0cad7a23b59c3b311681.tar.gz |
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-x | dh_desktop | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |