shellcheck step 3
This commit is contained in:
parent
71861d4021
commit
94f4cf7ff5
4
hyperfi
4
hyperfi
@ -1117,7 +1117,7 @@ archsetlocale(){
|
||||
echo "echo \"LC_COLLATE=C\" >> /mnt/etc/locale.conf"
|
||||
echo "LC_COLLATE=C" >> /mnt/etc/locale.conf
|
||||
echo "sed -i '/#${locale}.UTF-8/s/^#//g' /mnt/etc/locale.gen"
|
||||
sed -i '/#'${locale}'.UTF-8/s/^#//g' /mnt/etc/locale.gen
|
||||
sed -i '/#'"${locale}"'.UTF-8/s/^#//g' /mnt/etc/locale.gen
|
||||
archchroot setlocale
|
||||
pressanykey
|
||||
fi
|
||||
@ -1129,7 +1129,7 @@ archsetlocalechroot(){
|
||||
}
|
||||
|
||||
archsettime(){
|
||||
items=$(ls -l /mnt/usr/share/zoneinfo/ | grep '^d' | gawk -F':[0-9]* ' '/:/{print $2}')
|
||||
items=$(find /usr/share/zoneinfo/ -mindepth 1 -maxdepth 1 -type d -printf '%f/\n' | sort)
|
||||
options=()
|
||||
for item in ${items}; do
|
||||
options+=("${item}" "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user