From cd3b5c342f46a8f6396e8abe02018ed7b45a4836 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 28 Nov 2019 19:06:59 +0100 Subject: Better comments and function names --- arch-installer.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch-installer.sh b/arch-installer.sh index 1f28222..789e61b 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -450,7 +450,7 @@ ARCH_CHROOT_CMDS sleep 2 } -jo_mkinitcpio() { +jo_chroot_mkinitcpio() { dialog --title "$1"\ --infobox "Generating kernel image"\ 4 35 @@ -466,7 +466,7 @@ ARCH_CHROOT_CMDS sleep 2 } -jo_grub() { +jo_chroot_grub() { dialog --title "$1"\ --infobox "Configuring bootloader"\ 4 35 @@ -595,15 +595,15 @@ fi #------------------------------------------- FSTAB CONFIG ----------------------------------------# #==================================================================================================# jo_fstab "IV. INSTALLING LINUX" -#================================================================# -#------------------------- ARCH-CHROOT --------------------------# -#================================================================# +#==================================================================================================# +#-------------------------------------------- ARCH-CHROOT -----------------------------------------# +#==================================================================================================# jo_chroot_base "V. CONFIGURING LINUX" if [ "$isusr" = true ]; then jo_chroot_set_usr "V. CONFIGURING LINUX" fi -jo_mkinitcpio "VI. CONFIGURING BOOT" -jo_grub "VI. CONFIGURING BOOT" +jo_chroot_mkinitcpio "VI. CONFIGURING BOOT" +jo_chroot_grub "VI. CONFIGURING BOOT" dialog --title "WORK COMPLETE"\ --msgbox "\ Arch Linux is now installed\n\ -- cgit v1.2.3