Skip to content

Commit

Permalink
small fix part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfireap committed Jan 12, 2024
1 parent ab7c9f9 commit 26df6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modoboa_installer/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def add_custom_repository(self,
)
target_file = f"/etc/apt/source.list.d/{name}.list"
tee_option = "-a" if file_exists(target_file) else ""
utils.exec_cmd(f'echo "{line}" | sude tee {tee_option} {target_file}')
utils.exec_cmd(f'echo "{line}" | tee {tee_option} {target_file}')
self.index_updated = False

def update(self):
Expand Down

0 comments on commit 26df6bb

Please sign in to comment.