From 78d1a1ccc2391516a1a8d616202e10a73d1e611d Mon Sep 17 00:00:00 2001 From: Amy Date: Sun, 7 Nov 2021 21:06:27 +0100 Subject: [PATCH] the fi with no friend would win --- citrine.internal.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index 9c6edb0..f51d015 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -480,12 +480,11 @@ else arch-chroot /mnt pacman -S --quiet --noconfirm $DM fi if [[ "$DM" != "" ]]; then - if [[ "$DM" != "none" ]]; then - prompt "Would you like to enable ${DM} for ${DE}? (Y/n)" - useDM="$response" - if [[ "$useDM" != "n" ]]; then - arch-chroot /mnt systemctl enable ${DM} - fi + if [[ "$DM" != "none" ]]; then + prompt "Would you like to enable ${DM} for ${DE}? (Y/n)" + useDM="$response" + if [[ "$useDM" != "n" ]]; then + arch-chroot /mnt systemctl enable ${DM} fi fi fi