Fix typo in live setup

This commit is contained in:
natemaia 2019-10-18 23:53:46 -07:00
parent 2c4b9333f5
commit e5f62c8252

View File

@ -5,7 +5,7 @@
# Some ideas and code reworked from other resources
# AIF, Cnichi, Calamares, Arch Wiki.. Credit where credit is due
VER=2.0.84
VER=2.0.85
# bulk default values {
@ -2192,7 +2192,7 @@ live()
pacman -Syyu archlinux-keyring --needed --noconfirm || die 1
pacman -S $AL_BASE_PKGS xterm xorg-xinit xorg-server --needed --noconfirm || die 1
case "$ses" in
i3-gaps|oepnbox|fluxbox|bspwm|awesome) pacman -S "$ses" $WM_BASE_PKGS ${WM_EXT[$ses]} --needed --noconfirm || die 1 ;;
i3-gaps|openbox|fluxbox|bspwm|awesome) pacman -S "$ses" $WM_BASE_PKGS ${WM_EXT[$ses]} --needed --noconfirm || die 1 ;;
gnome|plasma|cinnamon|xfce4) pacman -S "$ses" ${WM_EXT[$ses]} --needed --noconfirm || die 1 ;;
dwm) { pacman -S git --needed --noconfirm || die 1; }; install_suckless "/root" nochroot ;;
esac
@ -2449,7 +2449,7 @@ else
-h|--help) usage "$0" ;;
-l|--live)
case "$2" in
gnome|cinnamon|dwm|plasma|xfce4|i3-gaps|oepnbox|fluxbox|bspwm|awesome) live "$2" ;;
gnome|cinnamon|dwm|plasma|xfce4|i3-gaps|openbox|fluxbox|bspwm|awesome) live "$2" ;;
*) echo "error: invalid session for -l, --live, see -h, --help"; die 1 ;;
esac ;;
esac