Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 12:00:56 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 12:00:56 +0100
commitb6c6e414b1a46fed7f118e7c441cb29ba26b5dc8 (patch)
treef59e2e984560b22c05d607851e1fcc971b38a08d /archinstall/lib/profiles.py
parent9fb08387deb16ff073c701fc16f5b3b77efbf29b (diff)
Fixed issue where absolute paths to profiles got squashed
Diffstat (limited to 'archinstall/lib/profiles.py')
-rw-r--r--archinstall/lib/profiles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 9ca410f8..cf5bca91 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -114,7 +114,7 @@ class Script():
# Path was not found in any known examples, check if it's an abolute path
if os.path.isfile(self.profile):
- return os.path.basename(self.profile)
+ return self.profile
raise ProfileNotFound(f"File {self.profile} does not exist in {examples}")
elif parsed_url.scheme in ('https', 'http'):