Add/improve comments around top level array variables

This commit is contained in:
natemaia 2019-08-18 10:15:08 -07:00
parent 00bfd43756
commit 0bc89ae4b2

View File

@ -140,11 +140,11 @@ SHL=$((LINES - 20))
# commands used to install each bootloader (most get modified during runtime) {
declare -A BCMDS=(
[refind-efi]='refind-install'
[grub]='grub-install --recheck --force'
[syslinux]='syslinux-install_update -i -a -m'
[efistub]='efibootmgr -v -d /dev/sda -p 1 -c -l'
[systemd-boot]='bootctl --path=/boot install'
[refind-efi]='refind-install' # minor modification
[grub]='grub-install --recheck --force' # heavily modified
[syslinux]='syslinux-install_update -i -a -m' # modified on UEFI
[efistub]='efibootmgr -v -d /dev/sda -p 1 -c -l' # heavily modified
[systemd-boot]='bootctl --path=/boot install' # not modified
) # }
# executable name for each wm/de {
@ -163,20 +163,20 @@ declare -A WM_SESSIONS=(
# packages installed for each wm/de, most are depends of the skel packages {
declare -A WM_EXT=(
[dwm]=''
[gnome]=''
[awesome]='awesome'
[plasma]='kdebase-meta'
[bspwm]=''
[fluxbox]=''
[i3-gaps]=''
[openbox]=''
[xfce4]='xfce4-goodies'
[dwm]='' # NA
[gnome]='' # NA
[awesome]='' # NA
[plasma]='kdebase-meta' # base plasma application set
[bspwm]='' # see deps of bspwm-skel
[fluxbox]='' # see deps of fluxbox-skel
[i3-gaps]='' # see deps of i3-gaps-skel
[openbox]='' # see deps of openbox-skel
[xfce4]='xfce4-goodies' # see deps of xfce4-skel
) # }
# files that can be edited after install is complete {
declare -A EDIT_FILES=(
[login]=''
[login]='' # populated once we know the new username and shell
[fstab]='/etc/fstab'
[sudoers]='/etc/sudoers'
[crypttab]='/etc/crypttab'
@ -203,12 +203,12 @@ declare -A FS_CMDS=(
[reiserfs]='mkfs.reiserfs -q'
) # }
# mount options for each offered filesystem (if any {
# mount options for each offered filesystem (if any) {
declare -A FS_OPTS=(
[vfat]=''
[ntfs]=''
[ext2]=''
[ext3]=''
[vfat]='' # NA
[ntfs]='' # NA
[ext2]='' # NA
[ext3]='' # NA
[jfs]='discard errors=continue errors=panic nointegrity'
[reiserfs]='acl nolog notail replayonly user_xattr off'
[ext4]='discard dealloc nofail noacl relatime noatime nobarrier nodelalloc'
@ -220,7 +220,7 @@ declare -A FS_OPTS=(
# PKG_EXT: if you add a package to $PACKAGES in any dialog {
# and it uses/requires some additional packages,
# you can add them here to keep it simple: [package]="extra"
# duplicates are removed with `uniq` before install
# duplicates are not added
declare -A PKG_EXT=(
[vlc]='qt4'
[mpd]='mpc'