From a6b1cab0779c534543ab385649dcd5cbdd83f3bf Mon Sep 17 00:00:00 2001 From: Werner Llácer Date: Thu, 10 Mar 2022 09:42:03 +0100 Subject: Additions to Listmgr et alia (#1028) * Permit multiple default actions as a list * Define headers for list at ListManager and Menu * small corrections for default values * Make subvolume info work. The real marker that signifies that a mounted subvolume exist is the bracket notation nor the at sign --- archinstall/lib/disk/btrfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib/disk/btrfs.py') diff --git a/archinstall/lib/disk/btrfs.py b/archinstall/lib/disk/btrfs.py index f2da957f..33f59721 100644 --- a/archinstall/lib/disk/btrfs.py +++ b/archinstall/lib/disk/btrfs.py @@ -25,7 +25,7 @@ class BtrfsSubvolume: root :bool = False def get_subvolumes_from_findmnt(struct :Dict[str, Any], index=0) -> Iterator[BtrfsSubvolume]: - if '@' in struct['source']: + if '[' in struct['source']: subvolume = re.findall(r'\[.*?\]', struct['source'])[0][1:-1] struct['source'] = struct['source'].replace(f"[{subvolume}]", "") yield BtrfsSubvolume( -- cgit v1.2.3-70-g09d2