send the if conditions for "which kernelstub" and "which grub-mkconfig" to null
This commit is contained in:
parent
fcadf14b2a
commit
cac6eee5e8
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ function set_CMDLINE () {
|
||||||
BOOTLOADER_AUTOCONFIG=0
|
BOOTLOADER_AUTOCONFIG=0
|
||||||
|
|
||||||
# If kernelstub is detected (program to manage systemd-boot)
|
# If kernelstub is detected (program to manage systemd-boot)
|
||||||
if which kernelstub ;
|
if which kernelstub > /dev/null ;
|
||||||
then
|
then
|
||||||
# Configure kernelstub
|
# Configure kernelstub
|
||||||
set_KERNELSTUB
|
set_KERNELSTUB
|
||||||
|
@ -158,7 +158,7 @@ function set_CMDLINE () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If grub exists
|
# If grub exists
|
||||||
if which grub-mkconfig ;
|
if which grub-mkconfig > /dev/null ;
|
||||||
then
|
then
|
||||||
# Configure grub
|
# Configure grub
|
||||||
set_GRUB
|
set_GRUB
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue