save_var locale_gen_name
save_var locale_name
save_var locale_time
- save_var locale_mirror
save_var locale_config_file
save_var locale_config_line
save_var locale_version
locale_config_line="$(cat "${locale_config_file}" | grep -h -v ^'#' | grep -v ^$ | head -n "${locale_line_number}" | tail -n 1)"
locale_gen_name=$(echo ${locale_config_line} | awk '{print $2}')
- locale_mirror=$(echo ${locale_config_line} | awk '{print $3}')
- locale_version=$(echo ${locale_config_line} | awk '{print $4}')
- locale_time=$(echo ${locale_config_line} | awk '{print $5}')
- locale_fullname=$(echo ${locale_config_line} | awk '{print $6}')
+ locale_version=$(echo ${locale_config_line} | awk '{print $3}')
+ locale_time=$(echo ${locale_config_line} | awk '{print $4}')
+ locale_fullname=$(echo ${locale_config_line} | awk '{print $5}')
# Parse kernel
#
# locale list
#
-# <locale name> <locale.gen> <archlinux mirror> <lang version name> <timezone> <fullname>
+# <locale name> <locale.gen> <lang version name> <timezone> <fullname>
#
# Global version
-gl en_US.UTF-8 all gl UTC global
+gl en_US.UTF-8 gl UTC global
# Japanese
-ja ja_JP.UTF-8 JP ja Asia/Tokyo japanese
+ja ja_JP.UTF-8 ja Asia/Tokyo japanese
# English
-en en_US.UTF-8 US en UTC english
+en en_US.UTF-8 en UTC english
#
# locale list
#
-# <locale name> <locale.gen> <archlinux mirror> <lang version name> <timezone> <fullname>
+# <locale name> <locale.gen> <lang version name> <timezone> <fullname>
#
# Global version
-gl en_US.UTF-8 all gl UTC global
+gl en_US.UTF-8 gl UTC global
# Japanese
-ja ja_JP.UTF-8 JP ja Asia/Tokyo japanese
+ja ja_JP.UTF-8 ja Asia/Tokyo japanese
# English
-en en_US.UTF-8 US en UTC english
+en en_US.UTF-8 en UTC english