Skip to content

Commit

Permalink
Changed the updater to not remove itself
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamidori5 committed Nov 17, 2024
1 parent 4ae47ef commit 763d1da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Webserver/Programs/Updater/midori_ai_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@

# Remove existing programs
for program in program_to_update:
if "midori-ai-updater" in program[0]:
continue
path = "/usr/local/bin/" + program[0]
if os.path.isfile(path):
print(f"Removing existing program: {program[0]}")
Expand Down
2 changes: 1 addition & 1 deletion Website
Submodule Website updated 1 files
+1 −1 content/cli_tools.md

0 comments on commit 763d1da

Please sign in to comment.