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 19:43:23 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-20 19:43:23 +0530
commitdbb6d630bdfdb655a3567b8cebc5c6b82bb74459 (patch)
tree415e94042129086889fa195874c6772e71d6cf5a /examples
parent572ab522fc829a972b6c51774c0e04cc99590fad (diff)
fixed some issues with adding packages
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 7af77642..015cc19d 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -306,9 +306,9 @@ def perform_installation(mountpoint):
if archinstall.arguments.get('mirror-region', None):
archinstall.use_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors for the live medium
if hasUEFI()==False:
- installation.base_packages.replace("efibootmgr","")# if we aren't on a uefi system why install efibootmgr
+ installation.base_packages.pop(installation.base_packages.index("efibootmgr"))# if we aren't on a uefi system why install efibootmgr
if archinstall.arguments["bootloader"] == "grub-install":
- installation.base_packages = installation.base_packages + " grub"
+ installation.base_packages = installation.base_packages.append("grub")
if installation.minimal_installation():
installation.set_hostname(archinstall.arguments['hostname'])
if archinstall.arguments['mirror-region'].get("mirrors",{})!= None: