From 8fc236ac779a9c158eb4f59b811ad646c0c91544 Mon Sep 17 00:00:00 2001 From: Simon Peeters Date: Thu, 20 May 2021 03:00:57 +0200 Subject: look for default profiles in correct location The default `profiles` directory is a sibling of the `lib` directory, not of `storage.py` itself. --- archinstall/lib/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- cgit v1.2.3-70-g09d2