Bug#876724: hamster-applet: find(1) call in debian/rules cannot delete all matched files
Source: hamster-applet
Version: 2.91.3+git20120514.b9fec3e1-2
Severity: minor
Tags: patch
Hi,
The find(1) call in debian/rules will not delete all matched files
as -delete has high precedence; it will "bind" to the last -name "X"
clause only.
Patch attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
diff --git a/debian/rules b/debian/rules
index b186a06..4343838 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ binary-install/hamster-applet::
rm -rf usr/lib/bonobo && \
rm -f usr/lib/hamster-applet/hamster-applet && \
rm -f usr/share/applications/hamster-applet.desktop && \
- find -name applet.py -o -name applet.ui -delete
+ find -name \( applet.py -o -name applet.ui \) -delete
dh_python2 -phamster-applet
dh_gconf -phamster-applet
Reply to: