slackbuilds/system/localepurge
Edinaldo P. Silva fa0a9e2497
system/localepurge: Added (remove superfluous locale data).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2016-08-13 07:22:19 +07:00
..
README system/localepurge: Added (remove superfluous locale data). 2016-08-13 07:22:19 +07:00
doinst.sh system/localepurge: Added (remove superfluous locale data). 2016-08-13 07:22:19 +07:00
localepurge.SlackBuild system/localepurge: Added (remove superfluous locale data). 2016-08-13 07:22:19 +07:00
localepurge.info system/localepurge: Added (remove superfluous locale data). 2016-08-13 07:22:19 +07:00
slack-desc system/localepurge: Added (remove superfluous locale data). 2016-08-13 07:22:19 +07:00

README

localepurge (removing superfluous locale data)

localepurge remove superfluous locale data into your system.
Is a small script to recover disk space wasted for unneeded
locale files and localized man pages.

Before use of localepurge, please edit /etc/locale.nopurge
commenting the line: NEEDSCONFIGFIRST.

And modify lines at the end to your system locales:

 en
 en_GB
 es
 es_ES
 es_ES@euro
 es_ES.UTF-8

To your system locales, eg: Brazilian locales...

 pt
 pt_BR
 pt_BR.UTF-8

Finally run: localepurge

At the end, you receive message like this:

 * localepurge: Disk space freed in /usr/share/man: 4812K
 * localepurge: processing man pages in /usr/man ...

 * Total disk space freed by localepurge: 25144K