Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 23:18:59 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-09 23:18:59 +0200
commitf031bb077ce8e4eee3745f4f109b451856aab372 (patch)
tree7a64bbec9c8984b048f81db4335409e00d9ad664 /archinstall/lib
parent0531e3a0d6368ee2ae606d2f390ffffaf53e4f2e (diff)
List function call error.
Diffstat (limited to 'archinstall/lib')
-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