This bug is now over six months old, and has had a patch for ages. It's
also utterly trivial to fix, and bloody annoying. What's going on?

I can upload the damn thing myself if need be. I have the package ready,
since I just rebuilt it myself for my own boxes. The patch I used is
attached.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |
reverted:
--- sysvinit-2.86.ds1.old/debian/changelog      2005-07-11 15:47:11.000000000 
+0100
+++ sysvinit-2.86.ds1/debian/changelog  2005-07-11 16:10:52.000000000 +0100
@@ -1,3 +1,11 @@
+sysvinit (2.86.ds1-1.1) unstable; urgency=low
+
+  * NMU
+  * Fix stupid find warning by ordering the arguments correctly in
+    /etc/init.d/bootclean.sh (closes: #284426)
+
+ -- Andrew Suffield <[EMAIL PROTECTED]>  Mon, 11 Jul 2005 15:49:55 +0100
+
 sysvinit (2.86.ds1-1) unstable; urgency=low
 
   * New upload with a clean .orig.tar.gz archive without the .o files.
reverted:
--- sysvinit-2.86.ds1.old/debian/initscripts/etc/init.d/bootclean.sh    
2005-07-11 15:47:12.000000000 +0100
+++ sysvinit-2.86.ds1/debian/initscripts/etc/init.d/bootclean.sh        
2005-07-11 16:10:34.000000000 +0100
@@ -53,14 +53,14 @@
                ! ( -path ./.clean -uid 0 )
                ! ( -path './...security*' -uid 0 )'
 
+       ( if cd /tmp && [ "`find . -maxdepth 0 -perm -002`" = "." ]
-       ( if cd /tmp && [ "`find . -perm -002 -maxdepth 0`" = "." ]
          then
                # First remove all old files.
+               find . -depth -xdev $TEXPR $EXCEPT \
+                               ! -type d -print0 | xargs -0r rm -f
-               find . -xdev $TEXPR $EXCEPT \
-                               ! -type d -depth -print0 | xargs -0r rm -f
                # And then all empty directories.
+               find . -depth -xdev $DEXPR $EXCEPT \
+                               -type d -empty -exec rmdir \{\} \;
-               find . -xdev $DEXPR $EXCEPT \
-                               -type d -depth -empty -exec rmdir \{\} \;
                rm -f .X*-lock
          fi
        )

Attachment: signature.asc
Description: Digital signature

Reply via email to