index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-11-29 21:40:17 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-11-29 21:40:17 +0000 |
commit | 4fd1e96d24e55bd414547cb6401d2ea1efbadf7a (patch) | |
tree | f0c79912d73ae756f4013d17e7bc8dfed5faed40 /archinstall | |
parent | 547043409798734b69820f06eee8df516e1cc9d6 (diff) |
-rw-r--r-- | archinstall/lib/profiles.py | 5 |
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 1515c8ea..25b124fd 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -109,7 +109,10 @@ class Script(): # Try to locate all local or known URL's examples = list_profiles() - if f"{self.profile}.py" in examples: + if f"{self.profile}" in examples: + return self.localize_path(examples[f"{self.profile}.py"]['path']) + # TODO: Redundant, the below block shouldnt be needed as profiles are stripped of their .py, but just in case for now: + elif f"{self.profile}.py" in examples: return self.localize_path(examples[f"{self.profile}.py"]['path']) # Path was not found in any known examples, check if it's an abolute path |