Skip to content

Commit

Permalink
- check for /usr/local prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
trigg committed May 7, 2024
1 parent b376cb3 commit b2b3e4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/script/arch-update-tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
def arch_update():
""" Launch with terminal """
update = "/usr/share/applications/arch-update.desktop"
if not os.path.isfile(update):
update = "/usr/local/share/applications/arch-update.desktop"
subprocess.run(["gio", "launch", update], check=False)


Expand Down

0 comments on commit b2b3e4d

Please sign in to comment.