shellcheck fixes

This commit is contained in:
Tobias Powalowski 2023-01-09 08:15:57 +01:00
parent efa0df1c34
commit 07e2ae779f
2 changed files with 4 additions and 5 deletions

View file

@ -21,6 +21,8 @@ if [[ -e /tmp/.setup-running ]]; then
fi
: >/tmp/.setup-running
: >/tmp/.setup
_set_title
_set_uefi_parameters
_dialog --msgbox "Welcome to the Archboot Arch Linux Installation program.\n\nThe install process is fairly straightforward, and you should run through the options in the order they are presented.\n\nIf you are unfamiliar with partitioning/making filesystems, you may want to consult some documentation before continuing.\n\nYou can view all output from commands by viewing your ${_VC} console (ALT-F${_VC_NUM}). ALT-F1 will bring you back here." 14 65
while true; do
_mainmenu

View file

@ -28,9 +28,6 @@ _EDITOR=""
_LSBLK="lsblk -rpno"
_BLKID="blkid -c /dev/null"
_set_title
_set_uefi_parameters
_set_title() {
if [[ -e "${_LOCAL_DB}" ]]; then
_TITLE="Archboot Arch Linux Installation (Local mode) --> https://bit.ly/archboot"
@ -125,7 +122,7 @@ _set_vconsole() {
}
_select_source() {
NEXTITEM="2"
_NEXTITEM="2"
_set_title
if [[ -e "${_LOCAL_DB}" ]]; then
_getsource || return 1
@ -136,7 +133,7 @@ _select_source() {
[[ "${_RUNNING_ARCH}" == "x86_64" ]] && dotesting
_getsource || return 1
fi
NEXTITEM="3"
_NEXTITEM="3"
}
_set_clock() {