From 7b4940ef6d2ec7631e948cffe55518e75609dcf3 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 12 Aug 2022 19:32:42 +0200 Subject: Spelling error on .replace() --- archinstall/lib/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib/installer.py') 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: -- cgit v1.2.3-70-g09d2