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