Commit 1531b22f authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Fixed location of move in code

parent 115e73a4
......@@ -69,8 +69,8 @@ class SysMkinitcpio:
conf_file.close()
conf_file_new.close()
# Move new file ontop of old one
os.replace(sys_mkinitcpio_conf_new, sys_mkinitcpio_conf)
# Move new file ontop of old one
os.replace(sys_mkinitcpio_conf_new, sys_mkinitcpio_conf)
def create(self, system_path: str, preset: str, output_callback: OutputCallback = None):
"""Create mkinitcpio on target system."""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment