aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 19:06:59 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 19:06:59 +0100
commitcd3b5c342f46a8f6396e8abe02018ed7b45a4836 (patch)
tree6d5dd0489812e5f5ad27ab5c25f9a2f507d7adf0
parentShellchecked, no more colors (diff)
downloadarch-installer-cd3b5c342f46a8f6396e8abe02018ed7b45a4836.tar.gz
arch-installer-cd3b5c342f46a8f6396e8abe02018ed7b45a4836.tar.bz2
arch-installer-cd3b5c342f46a8f6396e8abe02018ed7b45a4836.tar.xz
arch-installer-cd3b5c342f46a8f6396e8abe02018ed7b45a4836.tar.zst
arch-installer-cd3b5c342f46a8f6396e8abe02018ed7b45a4836.zip
Better comments and function names
-rwxr-xr-xarch-installer.sh14
1 files 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\