index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-03-29 17:53:30 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-03-29 17:53:30 +0200 |
commit | 1b903550b588d1ade90eae034b757e2950398550 (patch) | |
tree | 3fc442c5d4acc9a9551a615c6b821dc1904ab870 /archinstall/lib | |
parent | 0c86440e2e63c5e66e64679e79ff675b9cc3f1dd (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 3 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index f0651685..18006311 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -322,7 +322,8 @@ class Partition(): else: raise UnknownFilesystemFormat(f"Fileformat '{filesystem}' is not yet implemented.") - self.encrypted = False if self.filesystem != 'crypto_LUKS' else True + if get_filesystem_type(path) == 'crypto_LUKS': + self.encrypted = True return True |