Add -sf --skip-font argument
This commit is contained in:
parent
429648a71f
commit
19889dee32
1 changed files with 5 additions and 1 deletions
4
archfi
4
archfi
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
apptitle="Arch Linux Fast Install (archfi) - Version: 2018.12.22.00.20.25 (GPLv3)"
|
apptitle="Arch Linux Fast Install (archfi) - Version: 2018.12.22.00.20.25 (GPLv3)"
|
||||||
baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master
|
baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master
|
||||||
|
skipfont="0"
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
|
@ -98,7 +99,9 @@ chooselanguage(){
|
||||||
else
|
else
|
||||||
eval $(curl -L $baseurl/lng/$sel | sed '/^#/ d')
|
eval $(curl -L $baseurl/lng/$sel | sed '/^#/ d')
|
||||||
fi
|
fi
|
||||||
|
if [ "$skipfont" = "0" ]; then
|
||||||
eval $(setfont $font)
|
eval $(setfont $font)
|
||||||
|
fi
|
||||||
font=
|
font=
|
||||||
if [ "$(cat /etc/locale.gen | grep ""#$locale"")" != "" ]; then
|
if [ "$(cat /etc/locale.gen | grep ""#$locale"")" != "" ]; then
|
||||||
sed -i "/$locale/s/^#//g" /etc/locale.gen
|
sed -i "/$locale/s/^#//g" /etc/locale.gen
|
||||||
|
@ -1363,6 +1366,7 @@ loadstrings(){
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
while (( "$#" )); do
|
while (( "$#" )); do
|
||||||
case $1 in
|
case $1 in
|
||||||
|
-sf | --skip-font) skipfont=1;;
|
||||||
-t | --test) baseurl="https://raw.githubusercontent"
|
-t | --test) baseurl="https://raw.githubusercontent"
|
||||||
baseurl="$baseurl.com/""$2/archfi/$3";;
|
baseurl="$baseurl.com/""$2/archfi/$3";;
|
||||||
--chroot) chroot=1
|
--chroot) chroot=1
|
||||||
|
|
Loading…
Reference in a new issue