Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall/lib/installer.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 4cf658c1..10532296 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -48,9 +48,10 @@ class Installer():
'base' : False,
'bootloader' : False
}
- if hasUEFI() == False:
- base_packages.replace(" efibootmgr","")
+
self.base_packages = base_packages.split(' ') if type(base_packages) is str else base_packages
+ if hasUEFI() == False:
+ self.base_packages.pop(self.base_packages.index("efibootmgr"))
self.post_base_install = []
storage['session'] = self