Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-04-12 14:51:32 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-04-12 14:51:32 +0200
commitae33151b9b1549eed36071e24c34170ac6009988 (patch)
tree130025de2c65e0ddae43d0134ffe55b0e60d9b2d
parent28d2743d71baba12ef28d0588efa7b06eb10c035 (diff)
Moving warning about UEFI to guided for now.
-rw-r--r--archinstall/__init__.py4
-rw-r--r--examples/guided.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index afea843b..d98b6daa 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -16,10 +16,6 @@ from .lib.hardware import *
__version__ = "2.1.3"
-if hasUEFI() is False:
- log("Archinstall currently only support UEFI booted machines. MBR & GRUB is coming in version 2.2.0!", fg="red", level=LOG_LEVELS.Error)
- exit(1)
-
## Basic version of arg.parse() supporting:
## --key=value
## --boolean
diff --git a/examples/guided.py b/examples/guided.py
index beb577c8..0025abc1 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -3,6 +3,10 @@ import archinstall
from archinstall.lib.hardware import hasUEFI
from archinstall.lib.profiles import Profile
+if hasUEFI() is False:
+ log("Archinstall currently only support UEFI booted machines. MBR & GRUB is coming in version 2.2.0!", fg="red", level=archinstall.LOG_LEVELS.Error)
+ exit(1)
+
def ask_user_questions():
"""
First, we'll ask the user for a bunch of user input.