From 3593125b8e57f2bae9d3b4630fd9d0dd0dd6773a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 29 Nov 2019 22:10:46 +0100 Subject: It's gonna be ok --- arch-installer.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch-installer.sh b/arch-installer.sh index 2601404..ed3c760 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -408,9 +408,9 @@ jo_fstab() { sleep 2 } -jo_arch_chroot() { - arch-chroot /mnt/arch ${@:1} -} +#jo_arch_chroot() { +# arch-chroot /mnt/arch ${@:1} +#} #==================================================================================================# #--------------------------------------------- START ----------------------------------------------# #==================================================================================================# @@ -542,22 +542,22 @@ arch-chroot /mnt/arch systemctl enable NetworkManager arch-chroot /mnt/arch sed -i 's/#ForwardToSyslog=no/ForwardToSyslog=yes/' /etc/systemd/journald.conf if [ "$isusr" = true ]; then if [ "$isusrsudo" = true ]; then - arch-chroot /mnt/arch useradd -m -g wheel -s /bin/$usrshell $usr + arch-chroot /mnt/arch useradd -m -g wheel -s /bin/"$usrshell" "$usr" arch-chroot /mnt/arch sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers else - arch-chroot /mnt/arch useradd -m -s /bin/$usrshell $usr + arch-chroot /mnt/arch useradd -m -s /bin/"$usrshell" "$usr" fi - arch-chroot /mnt/arch passwd $usr < /boot/efi/startup.nsh arch-chroot /mnt/arch echo "exit" >> /boot/efi/startup.nsh else - arch-chroot /mnt/arch grub-install --target=i386-pc $drv + arch-chroot /mnt/arch grub-install --target=i386-pc "$drv" arch-chroot /mnt/arch grub-mkconfig -o /boot/grub/grub.cfg fi dialog --title "WORK COMPLETE"\ -- cgit v1.2.3