[postcfg] fix update-grub call
This commit is contained in:
parent
95cbf0a8eb
commit
43ce7e7e06
@ -98,8 +98,7 @@ class ConfigController:
|
||||
self.terminate('gpg-agent')
|
||||
|
||||
# Update grub.cfg
|
||||
if exists(join(self.root, "usr/bin/update-grub")) \
|
||||
and libcalamares.globalstorage.value("bootLoader") is not None:
|
||||
if exists(join(self.root, "usr/bin/update-grub")):
|
||||
target_env_call(["update-grub"])
|
||||
|
||||
# Enable 'menu_auto_hide' when supported in grubenv
|
||||
|
Loading…
Reference in New Issue
Block a user