look for default profiles in correct location
The default `profiles` directory is a sibling of the `lib` directory, not of `storage.py` itself.
This commit is contained in:
parent
182babf33a
commit
8fc236ac77
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue