You are not logged in.

#1 2007-06-06 15:06:18

Robertek
Member
From: Czech Republic
Registered: 2007-06-02
Posts: 165
Website

Localepurge for arch linux

I just seeked for some thing to clean unused locales from my system and while I used gentoo I used localepurge, so I realize update this script for Arch linux


# unpac this package to your /usr/local (it will make sbin/localepurge and share/localepurge/*)
robertek.no-ip.org/files/localepurge/localepurge.tar.bz2

#copy this file to /etc/locale.nopurge (or wherever else but than you must edit /usr/local/sbin/localepurge)
robertek.no-ip.org/files/localepurge/locale.nopurge

!!!! Before run edit locale.nopurge file and write there your locales you dont want to delete !!!!!
Than if you are pretty sure that you edit correct locales just add "#" before NEEDSCONFIGFIRST

than you can run localepurge (/usr/local/sbin/localepurge if you dont have /usr/local/sbin in your PATH)

!!! BE CAREFULL THERE IS NO WARANTY FOR THIS SCRIPT AND DONT BLAME ME FOR CORRUPTING YOUR SYSTEM !!!! (anyone can just scroll the script and look if it is correct by you look)

For me it work great an I just delete more than 100MB of mess.

Feel free to make a package out of it I will be pleased (and please share).

Offline

Board footer

Powered by FluxBB