From f4f7f8e2c04c21c279a6e4c0bb6beb17f8b891e9 Mon Sep 17 00:00:00 2001 From: Amy Date: Mon, 20 Dec 2021 21:42:20 +0100 Subject: [PATCH] Make one thing dialog and fix creation of ~/.local/share to user --- citrine.internal.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index 4a08f23..ad508bf 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -295,10 +295,8 @@ arch-chroot /mnt locale-gen echo echo -inf "en_US was set as system primary." -inf "After install, you can edit /etc/locale.conf to change the primary if desired." -inf "Press enter" -yesno "" +dumptitle "locale" +dump "en_US was set as system primary.\nAfter install, you can edit /etc/locale.conf to change the primary if desired." if [[ "$KBD" == "y" || "$KBD" == "Y" ]]; then echo "KEYMAP=${KMP}" > /mnt/etc/vconsole.conf @@ -376,7 +374,7 @@ arch-chroot pacman-key --populate crystal clear arch-chroot /mnt pacman -Sy --quiet --noconfirm -mkdir -p /mnt/home/${UN}/.local/share/ +arch-chroot su - ${UN} -c "mkdir -p /mnt/home/${UN}/.local/share/" while [[ "$DE" == "" ]]; do menu=$(dialog --title "Citrine" --menu "Select the Desktop Environment you want to install" 12 100 4 "Official" "Our pre-themed desktop environments" "Third Party (supported)" "Third party Desktop Environments that are supported" "Third Party (unsupported)" "Third Party Desktop Environments that aren't supported" "None/DIY" "Install no de from this list" --stdout)