added tagfile and make use of it in modules

This commit is contained in:
2021-12-15 10:55:18 +01:00
parent 925d32c2b6
commit a79d079cac
15 changed files with 81 additions and 31 deletions

View File

@@ -20,13 +20,14 @@
# Character table (ISO or UTF)
# ------------------------------------------------------------------------------
export VER_conf_locale="0.1.2"
export VER_conf_locale="0.1.3"
conf_locale()
{
pkginst locales locales-all
local gen_fname=/etc/locale.gen
backupdist $gen_fname
tagfine $gen_fname
# Removing locales not in the list
prnt I "Deactivating initial locales from installation..."
@@ -54,7 +55,7 @@ conf_locale()
local sys_fname=/etc/default/locale
backupdist $sys_fname
echo "# Generated by init on $(stdtime)" > $sys_fname
tagfile $sys_fname
echo "LANG=$SYSLOCALE" >> $sys_fname
for cfg in ADDRESS IDENTIFICATION MEASUREMENT MONETARY NAME NUMERIC PAPER \
TELEPHONE TIME; do