Package: initscripts Version: 2.86.ds1-1 Severity: normal Tags: patch

bootclean.sh warns because of the wrong placement of the find option -maxdepth, that might confuse users because it does so on the boot screen.

a trivial patch is attached.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages initscripts depends on:
ii coreutils 5.2.1-2 The GNU core utilities
ii dpkg 1.13.0 Package maintenance system for Deb
ii e2fsprogs 1.36rc3-2 ext2 file system utilities and lib
ii libc6 2.3.2.ds1-20ubuntu3 GNU C Library: Shared libraries an
ii mount 2.12p-2ubuntu1 Tools for mounting and manipulatin
ii util-linux 2.12p-2ubuntu1 Miscellaneous system utilities


-- no debconf information
--- bootclean.sh        2005-01-26 11:58:59.700827216 +0100
+++ bootclean.sh-fixed  2005-01-26 11:58:40.084809304 +0100
@@ -53,7 +53,7 @@
                ! ( -path ./.clean -uid 0 )
                ! ( -path './...security*' -uid 0 )'
 
-       ( if cd /tmp && [ "`find . -perm -002 -maxdepth 0`" = "." ]
+       ( if cd /tmp && [ "`find . -maxdepth 0 -perm -002`" = "." ]
          then
                # First remove all old files.
                find . -xdev $TEXPR $EXCEPT \

Reply via email to