language: add localepurge configuration:

- purge all locales except english and french locales
 - add dpkg hooks
 - delete localized manpages
 - show freed space (quick/imprecise calculation)
packages: remove duplicate entry
This commit is contained in:
nodiscc
2020-03-07 13:59:56 +01:00
parent 4a4634b8ea
commit 250734c895
2 changed files with 68 additions and 2 deletions

View File

@@ -0,0 +1,67 @@
####################################################
# This is the configuration file for localepurge(8).
####################################################
####################################################
# Uncommenting this string enables the use of dpkg's
# --path-exclude feature. In this mode, localepurge
# will configure dpkg to exclude the desired locales
# at unpack time.
#
# If enabled, the following 3 options will be
# disabled:
#
# QUICKNDIRTYCALC
# SHOWFREEDSPACE
# VERBOSE
#
# And the following option will be enabled and cannot
# be disabled (unless USE_DPKG is disabled):
#
# DONTBOTHERNEWLOCALE
#
USE_DPKG
####################################################
####################################################
# Uncommenting this string enables removal of localized
# man pages based on the configuration information for
# locale files defined below:
MANDELETE
####################################################
# Uncommenting this string causes localepurge to simply delete
# locales which have newly appeared on the system without
# bothering you about it:
DONTBOTHERNEWLOCALE
####################################################
# Uncommenting this string enables display of freed disk
# space if localepurge has purged any superfluous data:
SHOWFREEDSPACE
#####################################################
# Commenting out this string enables faster but less
# accurate calculation of freed disk space:
#QUICKNDIRTYCALC
#####################################################
# Commenting out this string disables verbose output:
#VERBOSE
#####################################################
# Following locales won't be deleted from this system
# after package installations done with apt-get(8):
en
en_US
en_US.UTF-8
fr
fr_FR
fr_FR.UTF-8

View File

@@ -11,7 +11,6 @@ debian-keyring
debsecan debsecan
debsums debsums
gnome-packagekit gnome-packagekit
localepurge
packagekit packagekit
packagekit-tools packagekit-tools
reportbug reportbug
@@ -136,8 +135,8 @@ testdisk
# filesystem linters # filesystem linters
#Description: bleachbit #Description: bleachbit
bleachbit bleachbit
localepurge
#Alt: fslint #Alt: fslint
#Alt: localepurge
# log viewers # log viewers
#Description: lnav #Description: lnav