Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-20 21:23:11 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-20 21:23:11 +0530
commit85c5275a8f35a7a0c0713d76c68ae0a127f1421c (patch)
treee770fff618180fe0d17cc81baf764972f0ca95f2 /examples
parenta02c35920d7d2f984e1e962c3c7a7556df148e13 (diff)
added return true
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 3d357e2d..878412a9 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -307,7 +307,7 @@ def perform_installation(mountpoint):
installation.set_hostname(archinstall.arguments['hostname'])
if archinstall.arguments['mirror-region'].get("mirrors",{})!= None:
installation.set_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors in the installation medium
- if archinstall.arguments["bootloader"]=="grub-install":
+ if archinstall.arguments["bootloader"]=="grub-install" and hasUEFI()==True:
installation.add_additional_packages("grub")
installation.set_keyboard_language(archinstall.arguments['keyboard-language'])
installation.add_bootloader(archinstall.arguments["bootloader"])