Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 8adc3515..74978ef6 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -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