Package: localepurge
Version: 0.4
Followup-For: Bug #348681

I have BLOCKSIZE=K and localepurge fail. This patch fix this

=== 8< ===
--- /usr/sbin/localepurge.orig  2006-04-20 11:38:58.000000000 +0200
+++ /usr/sbin/localepurge       2006-04-20 11:43:49.000000000 +0200
@@ -62,7 +62,7 @@
     get_used_space() # Usage: get_used_space <dirname>
     {
     [ -d "$1" ] || return 1 # bail out if there's no such dir
-    set - $(du -s $1)
+    set - $(du -bs $1)
     echo $1
     }
 fi
=== 8< ===

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-ck3
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages localepurge depends on:
ii  debconf                      1.4.72      Debian configuration management sy
ii  debianutils                  2.15.3      Miscellaneous utilities specific t
ii  dpkg                         1.13.18     package maintenance system for Deb
ii  procps                       1:3.2.6-2.1 /proc file system utilities

localepurge recommends no packages.

-- debconf information:
* localepurge/mandelete: true
  localepurge/showfreedspace: true
  localepurge/quickndirtycalc: true
  localepurge/remove_no:
  localepurge/none_selected: false
* localepurge/nopurge: de_DE, [EMAIL PROTECTED], de_DE.UTF-8, en_US, 
en_US.UTF-8, ru, ru_RU.KOI8-R, ru_RU.UTF-8, ru_UA
* localepurge/dontbothernew: false
  localepurge/verbose: false



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to