Function style change, clean up for virtualbox utils

This commit is contained in:
natemaia
2018-11-25 00:18:33 -08:00
parent 76a62ee6da
commit 8e1b4a6647
11 changed files with 264 additions and 132 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/bash
# shellcheck disable=2154,2034,2153
# vim:fdm=marker:fmr={,}
# This program is free software, provided under the GNU GPL
# Written by Nathaniel Maia for use in Archlabs
@ -8,13 +10,14 @@
# immutable globals
readonly VER="1.7.19" # Installer version
readonly VER="1.7.20" # Installer version
readonly DIST="ArchLabs" # Linux distributor
readonly MNT="/mnt/install" # Install mountpoint
readonly ERR="/tmp/errlog" # Built-in error log
readonly DBG="/tmp/debuglog" # Built-in error log
main() {
main()
{
if [[ $CURRENT_MENU != "main" ]]; then
if [[ $SAVED ]]; then
SELECTED=$((SAVED + 1))