diff --git a/bumblebee/modules/pacman.py b/bumblebee/modules/pacman.py index 546c43a..6fe19a0 100644 --- a/bumblebee/modules/pacman.py +++ b/bumblebee/modules/pacman.py @@ -24,7 +24,10 @@ repos = ["core", "extra", "community", "multilib", "testing", "other"] def get_pacman_info(widget, path): try: - result = bumblebee.util.execute("{}/../../bin/pacman-updates".format(path)) + cmd = "{}/../../bin/pacman-updates".format(path) + if not os.path.exists(cmd): + cmd = "/usr/share/bumblebee-status/bin/pacman-update" + result = bumblebee.util.execute(cmd) except: pass