remove stray else at line 471

pull/3/head
Amy 3 years ago
parent a7f857ca36
commit 933d632b7a
No known key found for this signature in database
GPG Key ID: 6672E6DD65BEA50B

@ -254,7 +254,7 @@ if [[ ! "$?" == "0" ]]; then
fi fi
if [[ "$EFI" == "yes" ]]; then if [[ "$EFI" == "yes" ]]; then
inf "Installing EFI support package" inf "Installing EFI support packages"
crystalstrap /mnt efibootmgr refind crystalstrap /mnt efibootmgr refind
else else
inf "Installing Syslinux bootloader" inf "Installing Syslinux bootloader"
@ -397,10 +397,6 @@ arch-chroot pacman-key --populate crystal
clear clear
#yesno "Would you like to install a DE/WM profile?"
#echo "DEP=$yn"
#DEP="$yn"
arch-chroot /mnt pacman -Sy --quiet --noconfirm arch-chroot /mnt pacman -Sy --quiet --noconfirm
while [[ "$DE" == "" ]]; do while [[ "$DE" == "" ]]; do
@ -472,14 +468,13 @@ if [[ "$DM" == "" ]]; then
inf "Ok, we'll install $ND" inf "Ok, we'll install $ND"
DM="$ND" DM="$ND"
arch-chroot /mnt pacman -S --quiet --noconfirm $DM arch-chroot /mnt pacman -S --quiet --noconfirm $DM
else
inf "Ok, not installing a display manager."
fi fi
else else
if [[ "$DM" != "none" ]]; then if [[ "$DM" != "none" ]]; then
arch-chroot /mnt pacman -S --quiet --noconfirm $DM arch-chroot /mnt pacman -S --quiet --noconfirm $DM
fi fi
fi fi
if [[ "$DM" != "" ]]; then if [[ "$DM" != "" ]]; then
if [[ "$DM" != "none" ]]; then if [[ "$DM" != "none" ]]; then
prompt "Would you like to enable ${DM} for ${DE}? (Y/n)" prompt "Would you like to enable ${DM} for ${DE}? (Y/n)"

Loading…
Cancel
Save