mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix autoconfiguration checks
This commit is contained in:
parent
1c47ed6f56
commit
564ee8ab34
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ _auto_mdadm()
|
||||||
_auto_network()
|
_auto_network()
|
||||||
{
|
{
|
||||||
# exit if network wasn't configured in Basic Setup
|
# exit if network wasn't configured in Basic Setup
|
||||||
if [[ ! -e /tmp/.network ]]; then
|
if [[ ! -e /.network ]]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_dialog --infobox "Enable network and proxy settings on installed system..." 3 70
|
_dialog --infobox "Enable network and proxy settings on installed system..." 3 70
|
||||||
|
@ -204,7 +204,7 @@ _auto_hostname() {
|
||||||
_auto_locale() {
|
_auto_locale() {
|
||||||
_dialog --infobox "Set default locale on installed system..." 3 70
|
_dialog --infobox "Set default locale on installed system..." 3 70
|
||||||
if [[ ! -f ${_DESTDIR}/etc/locale.conf ]]; then
|
if [[ ! -f ${_DESTDIR}/etc/locale.conf ]]; then
|
||||||
if [[ -n ${_DESTDIR} && -e /tmp/.localize ]]; then
|
if [[ -n ${_DESTDIR} && -e /.localize ]]; then
|
||||||
cp /etc/locale.conf "${_DESTDIR}"/etc/locale.conf
|
cp /etc/locale.conf "${_DESTDIR}"/etc/locale.conf
|
||||||
else
|
else
|
||||||
echo "LANG=C.UTF-8" > "${_DESTDIR}"/etc/locale.conf
|
echo "LANG=C.UTF-8" > "${_DESTDIR}"/etc/locale.conf
|
||||||
|
|
Loading…
Reference in a new issue