From b2b3e4dde1e76c1fd1545c763e2c35f40f71887e Mon Sep 17 00:00:00 2001 From: trigg Date: Tue, 7 May 2024 22:57:14 +0100 Subject: [PATCH] - check for /usr/local prefix --- src/script/arch-update-tray.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/script/arch-update-tray.py b/src/script/arch-update-tray.py index 34b732d..ec698cc 100755 --- a/src/script/arch-update-tray.py +++ b/src/script/arch-update-tray.py @@ -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)