[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFC] apt-localepurge - automagically removing unnecessary locale files



On Mon, Mar 26, 2001 at 04:00:10AM +0200, Paul Seelig wrote:
> This is just a simple script to recover diskspace wasted for unneeded
> locale files. It will automagically be invoked upon completion of any
> apt installation run.  It uses the dpkg "Post-Invoke" function to
> execute the script "/usr/sbin/apt-localepurge", which automagically
> deletes the LC_MESSAGES subdir of every single locale as defined in
> "/etc/locale.purge".  You have to manually uncomment (or add) the
> locale directory names you want to be regularily cleaned after each
> apt installation run in this configuration file.

Listing the locales you want to purge seems like the wrong direction;
you should list the locales you want to save. Perhaps save the locales
in locale.gen & locale.save (since you may have files for non-libc
locales you want to save)?

-- 
David Starner - dstarner98@aasaa.ofe.org
Pointless website: http://dvdeug.dhis.org
"I don't care if Bill personally has my name and reads my email and 
laughs at me. In fact, I'd be rather honored." - Joseph_Greg



Reply to: