List function call error.

This commit is contained in:
Anton Hvornum 2021-04-09 23:18:59 +02:00
parent 0531e3a0d6
commit f031bb077c
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ class Installer():
if (partition.encrypted or (partition.parent not in partition.path and Partition(partition.parent, None, autodetect_filesystem=True).filesystem == 'crypto_LUKS')):
if 'encrypt' not in HOOKS:
HOOKS.insert(HOOKS.find('filesystems'), 'encrypt')
HOOKS.insert(HOOKS.index('filesystems'), 'encrypt')
self.pacstrap(self.base_packages)
self.helper_flags['base-strapped'] = True