Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-08-12 19:32:42 +0200
committerAnton Hvornum <anton@hvornum.se>2022-08-12 19:32:42 +0200
commit7b4940ef6d2ec7631e948cffe55518e75609dcf3 (patch)
treef1e8debcb1ef800ad484d5c0bd79ffc18c8c86a8 /archinstall
parent7b06da280dd90421b233f1403b7bfe344bc11037 (diff)
Spelling error on .replace()
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 05a74e14..62257642 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -1131,7 +1131,7 @@ class Installer:
return SysCommand(f"/usr/bin/arch-chroot {self.target} sh -c \"chsh -s {shell} {user}\"").exit_code == 0
def chown(self, owner :str, path :str, options :List[str] = []) -> bool:
- cleaned_path = path.repalce('\'', '\\\'')
+ cleaned_path = path.replace('\'', '\\\'')
return SysCommand(f"/usr/bin/arch-chroot {self.target} sh -c 'chown {' '.join(options)} {owner} {cleaned_path}'").exit_code == 0
def create_file(self, filename :str, owner :Optional[str] = None) -> InstallationFile: