Reverted last commit and added debugging in guided instead
This commit is contained in:
parent
017b4b4fa9
commit
9fb08387de
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue