mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 11:19:09 +01:00
added the grub rebuild logic inside the kernel installer function
This commit is contained in:
1 parent
e2b0590ffa
commit
0a0b9a57df
1 file changed
+8
@@ -347,6 +347,14 @@ function ensure_mkinitcpio_configured_for() {
|
||||
else
|
||||
log "Echec lors de l'installation du noyau $kernel, ne redémarrez surtout pas !"
|
||||
fi
|
||||
|
||||
if ! sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||
then
|
||||
log "Erreur lors de la configuration du noyau dans Grub, ne redemarrez pas !"
|
||||
return 1
|
||||
fi
|
||||
|
||||
log "Grub configure pour le noyau linux avec succes."
|
||||
}
|
||||
|
||||
function ensure_github_cli_authenticated() {
|
||||
|
||||
Reference in new issue
Block a user