fix: remove emacs backup file from last commit
This commit is contained in:
19
modules/conf_locale.sh~
Normal file
19
modules/conf_locale.sh~
Normal file
@@ -0,0 +1,19 @@
|
||||
# Locale
|
||||
|
||||
conf_locale()
|
||||
{
|
||||
backupdist /etc/locale.gen
|
||||
for loc in $LOCALESET; do
|
||||
prnt I "Activation de la locale ${loc}..."
|
||||
sed -i "/^# $loc /s/^# //" /etc/locale.gen
|
||||
done
|
||||
prnt I "Régénération du cache de locale..."
|
||||
locale-gen
|
||||
}
|
||||
|
||||
precheck_conf_locale()
|
||||
{
|
||||
if [[ ! $LOCALESET ]]; then
|
||||
prnt W "Aucune locale définie !"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user