commit e855ef62870d1bf1b29596c1a3b696251db84b52 parent 1201e563073c5a0d8566e24f7567399b5e189fa9 Author: awy <awy@awy.one> Date: Thu, 7 Nov 2024 17:15:48 +0300 tidy Diffstat:
M | post_chroot.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/post_chroot.sh b/post_chroot.sh @@ -62,9 +62,9 @@ customKernel(){ } case $choosenKernel in - 1) binKernel && grub-mkconfig -o /boot/grub/grub.cfg ;; - 2) binKernel && grub-mkconfig -o /boot/grub/grub.cfg ;; + 1 | 2) binKernel && grub-mkconfig -o /boot/grub/grub.cfg ;; 3) customKernel ;; + *) printf ${red}"Invalid kernel${normal}" && exit 1 ;; esac # use dash as sh