index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-06 17:08:43 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-06 17:08:43 +0100 |
commit | 94581b706a7213510a2a127588f860ca36481a59 (patch) | |
tree | 7f818789e85c595f63df2cc49d952fe9208e5def /archinstall | |
parent | 271ca853d4023e0519ec6cb33ee9396e190cfd80 (diff) |
-rw-r--r-- | archinstall/__main__.py | 1 | ||||
-rw-r--r-- | archinstall/lib/profiles.py | 1 |
diff --git a/archinstall/__main__.py b/archinstall/__main__.py index 63c2f715..5d620c10 100644 --- a/archinstall/__main__.py +++ b/archinstall/__main__.py @@ -13,6 +13,7 @@ def run_as_a_module(): """ # Add another path for finding profiles, so that list_profiles() in Script() can find guided.py, unattended.py etc. + print(id(archinstall.storage), archinstall.storage) archinstall.storage['PROFILE_PATH'].append(os.path.abspath(f'{os.path.dirname(__file__)}/examples')) if len(sys.argv) == 1: diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index a77c1eff..82d0694a 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -22,6 +22,7 @@ def list_profiles(filter_irrelevant_macs=True, subpath=''): cache = {} # Grab all local profiles found in PROFILE_PATH + print(id(storage), storage) for PATH_ITEM in storage['PROFILE_PATH']: for root, folders, files in os.walk(os.path.abspath(os.path.expanduser(PATH_ITEM+subpath))): for file in files: |