Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peeters <peeters.simon@gmail.com>2021-05-20 03:00:57 +0200
committerGitHub <noreply@github.com>2021-05-20 03:00:57 +0200
commit8fc236ac779a9c158eb4f59b811ad646c0c91544 (patch)
treeafe9d17228605c3b59092a51c751d70a189d5913
parent182babf33a8fd5ff08cdf5774b0a87c8e9386384 (diff)
look for default profiles in correct location
The default `profiles` directory is a sibling of the `lib` directory, not of `storage.py` itself.
-rw-r--r--archinstall/lib/storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/storage.py b/archinstall/lib/storage.py
index 42214572..4e19e4d4 100644
--- a/archinstall/lib/storage.py
+++ b/archinstall/lib/storage.py
@@ -11,7 +11,7 @@ storage = {
'PROFILE_PATH': [
'./profiles',
'~/.config/archinstall/profiles',
- os.path.join(os.path.dirname(os.path.abspath(__file__)), 'profiles'),
+ os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'profiles'),
# os.path.abspath(f'{os.path.dirname(__file__)}/../examples')
],
'UPSTREAM_URL': 'https://raw.githubusercontent.com/archlinux/archinstall/master/profiles',