From acb40969b5cbb2554e4fe70060ce4a280c7fe8d3 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Thu, 12 Jul 2018 22:00:41 +0200 Subject: [PATCH] make message about notify-send package cross-distro compatible PR: !144 References: https://bugzilla.opensuse.org/show_bug.cgi?id=1100779 (cherry picked from commit 44ee1d50902bf9b934798fd3a2f3bb9d23bde7b5) Signed-off-by: John Johansen --- utils/aa-notify | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/aa-notify b/utils/aa-notify index 84bdb86d8..9c7b28be6 100755 --- a/utils/aa-notify +++ b/utils/aa-notify @@ -157,7 +157,8 @@ if (-s $conf) { } if ($opt_p) { - -x "$notify_exe" or _error("Could not find '$notify_exe'. Please install libnotify-bin. Aborting"); + # notify-send is packaged in libnotify-bin on Debian/Ubuntu, libnotify-tools on openSUSE + -x "$notify_exe" or _error("Could not find '$notify_exe'. Please install it (package libnotify-bin or libnotify-tools). Aborting"); # we need correct values for $HOME and $DISPLAY environment variables, # otherwise $notify_exe won't be able to connect to DBUS to display the