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/profiles.py8
-rw-r--r--examples/guided.py2
2 files changed, 2 insertions, 8 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 6bd41d58..9ca410f8 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -168,14 +168,6 @@ class Application(Profile):
# Try to locate all local or known URL's
examples = list_profiles(subpath='/applications')
- import time
- print(self.profile)
- print('Examples:', examples)
- print(f"{self.profile}" in examples)
- print(f"{self.profile}.py" in examples)
- print(os.path.isfile(self.profile))
- time.sleep(30)
-
if f"{self.profile}" in examples:
return self.localize_path(examples[self.profile]['path'])
# TODO: Redundant, the below block shouldnt be needed as profiles are stripped of their .py, but just in case for now:
diff --git a/examples/guided.py b/examples/guided.py
index a4de0566..38894292 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -56,6 +56,8 @@ def perform_installation(device, boot_partition, language, mirrors):
if archinstall.storage['_guided']['packages'] and archinstall.storage['_guided']['packages'][0] != '':
installation.add_additional_packages(archinstall.storage['_guided']['packages'])
+ print('Installing:', archinstall.storage['_guided']['profile']['path'].strip())
+ time.sleep(10)
if 'profile' in archinstall.storage['_guided'] and len(profile := archinstall.storage['_guided']['profile']['path'].strip()):
installation.install_profile(profile)