mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove comments
This commit is contained in:
parent
7ef0665625
commit
6884d489b0
1 changed files with 5 additions and 5 deletions
|
@ -227,18 +227,18 @@ _configure_system() {
|
|||
"Root-Password" "Set the root password" \
|
||||
"Return" "Return to Main Menu" 2>${_ANSWER} || break
|
||||
_FILE="$(cat ${_ANSWER})"
|
||||
if [[ "${_FILE}" = "Return" || -z "${_FILE}" ]]; then # exit
|
||||
if [[ "${_FILE}" = "Return" || -z "${_FILE}" ]]; then
|
||||
_S_CONFIG=1
|
||||
break
|
||||
elif [[ "${_FILE}" = "/etc/mkinitcpio.conf" ]]; then # non-file
|
||||
elif [[ "${_FILE}" = "/etc/mkinitcpio.conf" ]]; then
|
||||
_set_mkinitcpio
|
||||
elif [[ "${_FILE}" = "/etc/locale.gen" ]]; then # non-file
|
||||
elif [[ "${_FILE}" = "/etc/locale.gen" ]]; then
|
||||
_auto_set_locale
|
||||
${_EDITOR} "${_DESTDIR}""${_FILE}"
|
||||
run_locale_gen
|
||||
elif [[ "${_FILE}" = "Root-Password" ]]; then # non-file
|
||||
elif [[ "${_FILE}" = "Root-Password" ]]; then
|
||||
_set_password
|
||||
else #regular file
|
||||
else
|
||||
${_EDITOR} "${_DESTDIR}""${_FILE}"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue