added tagfile and make use of it in modules
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user